diff options
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -157,7 +157,7 @@ exit; ################################################################################ sub requestChangePassword { - Token::IssuePasswordToken($cgi->param('loginname')); + Bugzilla::Token::IssuePasswordToken($cgi->param('loginname')); $vars->{'message'} = "password_change_request"; @@ -236,8 +236,8 @@ sub changeEmail { # The new email address should be available as this was # confirmed initially so cancel token if it is not still available if (! ValidateNewUser($new_email,$old_email)) { - $vars->{'email'} = $new_email; # Needed for Token::Cancel's mail - Token::Cancel($::token,"account_exists"); + $vars->{'email'} = $new_email; # Needed for Bugzilla::Token::Cancel's mail + Bugzilla::Token::Cancel($::token,"account_exists"); ThrowUserError("account_exists", { email => $new_email } ); } |