Resolved issue 0000784: Mail notification disabled on register user

git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2177 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub
2007-12-11 06:04:07 +00:00
parent 58b1c34aa1
commit 1117ff9ed2
4 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ if ($conf['apache_authentication'] and isset($_SERVER['REMOTE_USER']))
{
if (!($user['id'] = get_userid($_SERVER['REMOTE_USER'])))
{
register_user($_SERVER['REMOTE_USER'], '', '');
register_user($_SERVER['REMOTE_USER'], '', '', false);
$user['id'] = get_userid($_SERVER['REMOTE_USER']);
}
}