summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2004-03-18 18:01:34 +0100
committerjustdave%syndicomm.com <>2004-03-18 18:01:34 +0100
commitcbef267df28e3befd53e6982773558c5acafd661 (patch)
tree4608175dea3771c4060cc9a09ac6c7d4f8d8b535 /token.cgi
parent786d40c197f497ee9d3fa5b92834c0249f20a61b (diff)
downloadbugzilla-cbef267df28e3befd53e6982773558c5acafd661.tar.gz
bugzilla-cbef267df28e3befd53e6982773558c5acafd661.tar.xz
Bug 237864: clean up leftovers from the bug 192516 checkin (some occurances of Token got missed)
r= gerv, a= justdave
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/token.cgi b/token.cgi
index f91889009..2a0f3c515 100755
--- a/token.cgi
+++ b/token.cgi
@@ -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 } );
}