diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2015-09-11 14:02:15 +0200 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2015-09-11 14:02:15 +0200 |
commit | be0849ea2a1695a95b521a00318cfba364777ee9 (patch) | |
tree | 5255fc2818d84ddbd7dc92fbafc83d1b435da8f2 /userprefs.cgi | |
parent | Merge tag 'release-5.0' into bugstest (diff) | |
parent | Bumped version to 5.0.1 (diff) | |
download | bugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.tar.gz bugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.tar.bz2 bugzilla-be0849ea2a1695a95b521a00318cfba364777ee9.zip |
Merge tag 'release-5.0.1' into bugstest
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 870a63f82..10c62657b 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -120,8 +120,7 @@ sub SaveAccount { ThrowUserError('restricted_email_address', {addr => $new_login_name}) if $new_login_name =~ m/[^\@]+\@gentoo\.org$/ or $user->login =~ m/[^\@]+\@gentoo\.org$/; } - Bugzilla::Token::IssueEmailChangeToken($user, $new_login_name); - + $vars->{'email_token'} = Bugzilla::Token::IssueEmailChangeToken($new_login_name); $vars->{'email_changes_saved'} = 1; } } |