mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-03 12:02:51 +02:00
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:
@@ -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'
|
||||
|
||||
@@ -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 != '')
|
||||
|
||||
Reference in New Issue
Block a user