From ece3a7ec4685b281efee69286a4dbdeb44971661 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 8 May 2006 03:13:47 +0000 Subject: =?UTF-8?q?Bug=20332598:=20Move=20ValidatePassword()=20and=20DBNam?= =?UTF-8?q?eToIdAndCheck()=20from=20globals.pl=20into=20User.pm=20-=20Patc?= =?UTF-8?q?h=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r?= =?UTF-8?q?=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- token.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'token.cgi') diff --git a/token.cgi b/token.cgi index aaac4f7ac..cbb502c67 100755 --- a/token.cgi +++ b/token.cgi @@ -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')); } ################################################################################ -- cgit v1.2.1