Added automatic case lowering of the login.
This is just a little usability improvement based on user feedback.
This commit is contained in:
parent
4add76dbc8
commit
7d999107b2
@ -59,6 +59,7 @@ class IDF_Views
|
||||
return new Pluf_HTTP_Response_Redirect($url);
|
||||
}
|
||||
$v = new Pluf_Views();
|
||||
$request->POST['login'] = (isset($request->POST['login'])) ? mb_strtolower($request->POST['login']) : '';
|
||||
return $v->login($request, $match, Pluf::f('login_success_url'),
|
||||
array(), 'idf/login_form.html');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user