summaryrefslogtreecommitdiffstats
path: root/token.cgi
diff options
context:
space:
mode:
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'});
}
################################################################################