Commit 75b2accb authored by Byron Jones's avatar Byron Jones Committed by Frédéric Buclin

Bug 670868: (CVE-2011-2978) [SECURITY] Account preferences page trusts…

Bug 670868: (CVE-2011-2978) [SECURITY] Account preferences page trusts user-modifiable field for obtaining current e-mail address r/a=LpSolit
parent 818ad5e1
......@@ -85,7 +85,7 @@ sub SaveAccount {
my $pwd1 = $cgi->param('new_password1');
my $pwd2 = $cgi->param('new_password2');
my $old_login_name = $cgi->param('old_login');
my $old_login_name = $user->login;
my $new_login_name = trim($cgi->param('new_login_name'));
if ($user->authorizer->can_change_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