aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php2
-rw-r--r--include/functions_user.inc.php2
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 != '')