aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Auth/Login/WWW/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Login/WWW/CGI.pm b/Bugzilla/Auth/Login/WWW/CGI.pm
index a697a623f..5030691e3 100644
--- a/Bugzilla/Auth/Login/WWW/CGI.pm
+++ b/Bugzilla/Auth/Login/WWW/CGI.pm
@@ -49,7 +49,7 @@ sub login {
my $dbh = Bugzilla->dbh;
# First, try the actual login method against form variables
- my $username = $cgi->param("Bugzilla_login");
+ my $username = trim($cgi->param("Bugzilla_login"));
my $passwd = $cgi->param("Bugzilla_password");
$cgi->delete('Bugzilla_login', 'Bugzilla_password');