summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-15 07:02:09 +0200
committerlpsolit%gmail.com <>2006-10-15 07:02:09 +0200
commit93815fc7619567cc962e053280c5ed0b19492feb (patch)
treeffc99d8156c41fbd0d5ab8801324adead2ef4436 /token.cgi
parent6fcfcb93eda16108f71b4c96010bae95cde622cd (diff)
downloadbugzilla-93815fc7619567cc962e053280c5ed0b19492feb.tar.gz
bugzilla-93815fc7619567cc962e053280c5ed0b19492feb.tar.xz
Bug 281181: [SECURITY] It's way too easy to delete versions/components/milestones etc... - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.cgi b/token.cgi
index 30913642e..282d2fcbb 100755
--- a/token.cgi
+++ b/token.cgi
@@ -378,7 +378,7 @@ sub confirm_create_account {
cryptpassword => $cgi->param('passwd1')});
# Now delete this token.
- Bugzilla::Token::DeleteToken($::token);
+ delete_token($::token);
# Let the user know that his user account has been successfully created.
$vars->{'message'} = 'account_created';