diff options
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 3880b9c38..b281fd214 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -138,7 +138,7 @@ sub SaveAccount { is_available_username($new_login_name) || ThrowUserError("account_exists", {email => $new_login_name}); - Bugzilla::Token::IssueEmailChangeToken($user->id, $old_login_name, + Bugzilla::Token::IssueEmailChangeToken($user, $old_login_name, $new_login_name); $vars->{'email_changes_saved'} = 1; |