aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--identification.php4
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) )
{