diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-09-06 12:41:31 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-09-06 12:41:31 +0200 |
commit | 23807179790108fc2575d06df59dbaebf8ce0af8 (patch) | |
tree | ed9e1b383de7f72f1892c66552640240c431f5f2 /userprefs.cgi | |
parent | a666b2a74f565a5ebb38f0ce0b400d04b1ea7ca4 (diff) | |
download | bugzilla-23807179790108fc2575d06df59dbaebf8ce0af8.tar.gz bugzilla-23807179790108fc2575d06df59dbaebf8ce0af8.tar.xz |
Bug 1194987: Editing your email address and make it point to a non-existent email address makes Bugzilla stop working
r=gerv a=sgreen
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 56157dfcd..4b1a7d542 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -112,8 +112,7 @@ sub SaveAccount { is_available_username($new_login_name) || ThrowUserError("account_exists", {email => $new_login_name}); - Bugzilla::Token::IssueEmailChangeToken($user, $new_login_name); - + $vars->{'email_token'} = Bugzilla::Token::IssueEmailChangeToken($new_login_name); $vars->{'email_changes_saved'} = 1; } } |