diff --git a/src/IDF/Views.php b/src/IDF/Views.php index 30cd038..2c846f4 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -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'); }