Renaming $conf['no_case_sensitive_for_login'] to $conf['insensitive_case_logon'] according with VDigital's proposal

git-svn-id: http://piwigo.org/svn/trunk@5060 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
Eric
2010-03-06 15:07:08 +00:00
parent ef00827dbc
commit 97a8ddcfe7
2 changed files with 2 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ $conf['double_password_type_in_admin'] = false;
// If set true, the login "user" will equal "User" or "USER" or "user",
// etc. ... And it will be impossible to use such login variation to create a
// new user account.
$conf['no_case_sensitive_for_login'] = false;
$conf['insensitive_case_logon'] = false;
// how should we check for unicity when adding a photo. Can be 'md5sum' or
// 'filename'

View File

@@ -118,7 +118,7 @@ function register_user($login, $password, $mail_address,
array_push($errors, $mail_error);
}
if ($conf['no_case_sensitive_for_login'] == true)
if ($conf['insensitive_case_logon'] == true)
{
$login_error = validate_login_case($login);
if ($login_error != '')