From 7d999107b22d302b0ddef8c52dd5d463dbe5456f Mon Sep 17 00:00:00 2001 From: Loic d'Anterroches Date: Sun, 7 Dec 2008 11:42:02 +0100 Subject: [PATCH] Added automatic case lowering of the login. This is just a little usability improvement based on user feedback. --- src/IDF/Views.php | 1 + 1 file changed, 1 insertion(+) 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'); }