diff options
author | flop25 <flop25@piwigo.org> | 2011-05-12 14:26:21 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2011-05-12 14:26:21 +0000 |
commit | 0a0bad781b86dac7b854a48b7c4a89bc27cbacf0 (patch) | |
tree | bde7ab700df909d14eac1a855362c4ee96bd91c1 /identification.php | |
parent | b658b845449a243203fa13550d3e89e86c201762 (diff) |
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
Diffstat (limited to 'identification.php')
-rw-r--r-- | identification.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/identification.php b/identification.php index c66edcbb7..00b92603a 100644 --- a/identification.php +++ b/identification.php @@ -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) ) { |