mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fix indentation issues, tabs are forbidden
git-svn-id: http://piwigo.org/svn/trunk@11989 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -54,10 +54,14 @@ if (isset($_POST['login']))
|
||||
}
|
||||
else
|
||||
{
|
||||
if ($conf['insensitive_case_logon'] == true)
|
||||
$_POST['username'] = search_case_username($_POST['username']);
|
||||
$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) )
|
||||
{
|
||||
redirect(empty($redirect_to) ? get_gallery_home_url() : $redirect_to);
|
||||
|
||||
Reference in New Issue
Block a user