summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-10-06 20:52:28 +0200
committergerv%gerv.net <>2002-10-06 20:52:28 +0200
commitb8851cdd5c15e0d21543d9fe08159b9ced8c950f (patch)
treece1c674c28c6491d3a86e3afb182963737666e2d /token.cgi
parentf50efb95e1c7462699f1179d0a62b1ee7118e67e (diff)
downloadbugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.gz
bugzilla-b8851cdd5c15e0d21543d9fe08159b9ced8c950f.tar.xz
Bug 163114 - Templatise all calls to DisplayError. Patch D (the last one). Patch by gerv; r=burnus.
Diffstat (limited to 'token.cgi')
-rwxr-xr-xtoken.cgi6
1 files changed, 1 insertions, 5 deletions
diff --git a/token.cgi b/token.cgi
index 64f5710bd..d4055d058 100755
--- a/token.cgi
+++ b/token.cgi
@@ -113,11 +113,7 @@ if ( $::action eq 'chgpw' ) {
&& defined $::FORM{'matchpassword'}
|| ThrowUserError("require_new_password");
- my $passworderror = ValidatePassword($::FORM{'password'}, $::FORM{'matchpassword'});
- if ( $passworderror ) {
- DisplayError($passworderror);
- exit;
- }
+ ValidatePassword($::FORM{'password'}, $::FORM{'matchpassword'});
}
################################################################################