mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
feature:1835
better managment if $conf['insensitive_case_logon'] is true, for identification git-svn-id: http://piwigo.org/svn/trunk@10860 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-1
@@ -54,7 +54,9 @@ if (isset($_POST['login']))
|
||||
}
|
||||
else
|
||||
{
|
||||
$redirect_to = isset($_POST['redirect']) ? urldecode($_POST['redirect']) : '';
|
||||
if ($conf['insensitive_case_logon'] == true)
|
||||
$_POST['username'] = search_case_username($_POST['username']);
|
||||
$redirect_to = isset($_POST['redirect']) ? urldecode($_POST['redirect']) : '';
|
||||
$remember_me = isset($_POST['remember_me']) and $_POST['remember_me']==1;
|
||||
if ( try_log_user($_POST['username'], $_POST['password'], $remember_me) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user