aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2015-09-11 14:02:15 +0200
committerChristian Ruppert <idl0r@gentoo.org>2015-09-11 14:02:15 +0200
commitbe0849ea2a1695a95b521a00318cfba364777ee9 (patch)
tree5255fc2818d84ddbd7dc92fbafc83d1b435da8f2 /userprefs.cgi
parentMerge tag 'release-5.0' into bugstest (diff)
parentBumped version to 5.0.1 (diff)
downloadbugzilla-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-xuserprefs.cgi3
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;
}
}