Commit dd167ee8 authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 161369: Strip trailing whitespace from login usernames; patch by…

Patch for bug 161369: Strip trailing whitespace from login usernames; patch by Paul <pdemarco@zoominternet.net>, r=vladd, a=justdave.
parent 1ad86477
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment