diff options
author | lpsolit%gmail.com <> | 2006-05-08 03:13:47 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-05-08 03:13:47 +0000 |
commit | ece3a7ec4685b281efee69286a4dbdeb44971661 (patch) | |
tree | a7cf408860ea24421ded09f46dc4d680cc5f19fa /token.cgi | |
parent | Bug 332521: Remove GroupIdToName() from globals.pl - Patch by Frédéric Bucl... (diff) | |
download | bugzilla-ece3a7ec4685b281efee69286a4dbdeb44971661.tar.gz bugzilla-ece3a7ec4685b281efee69286a4dbdeb44971661.tar.bz2 bugzilla-ece3a7ec4685b281efee69286a4dbdeb44971661.zip |
Bug 332598: Move ValidatePassword() and DBNameToIdAndCheck() from globals.pl into User.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'token.cgi')
-rwxr-xr-x | token.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,7 +68,7 @@ if ($cgi->param('t')) { # Make sure the token contains only valid characters in the right amount. # Validate password will throw an error if token is invalid - ValidatePassword($::token); + validate_password($::token); trick_taint($::token); # Only used in placeholders Bugzilla::Token::CleanTokenTable(); @@ -128,7 +128,7 @@ if ( $::action eq 'chgpw' ) { && defined $cgi->param('matchpassword') || ThrowUserError("require_new_password"); - ValidatePassword($cgi->param('password'), $cgi->param('matchpassword')); + validate_password($cgi->param('password'), $cgi->param('matchpassword')); } ################################################################################ |