diff options
author | Eric <eric@piwigo.org> | 2010-03-06 15:07:08 +0000 |
---|---|---|
committer | Eric <eric@piwigo.org> | 2010-03-06 15:07:08 +0000 |
commit | 97a8ddcfe7c8d3f50b3e577c0915c551e7af12fa (patch) | |
tree | 107b2811a0a9ec80a5a619fa404bf55a54e0fdf3 | |
parent | ef00827dbcfa4ee27ae4b85310ccea85cf9b98dd (diff) |
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
-rw-r--r-- | include/config_default.inc.php | 2 | ||||
-rw-r--r-- | include/functions_user.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php index 96f89661a..0ad708777 100644 --- a/include/config_default.inc.php +++ b/include/config_default.inc.php @@ -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' diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php index d48c55f53..3a4d17549 100644 --- a/include/functions_user.inc.php +++ b/include/functions_user.inc.php @@ -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 != '') |