Bug 163114 - Templatise all calls to DisplayError. Patch D (the last one). Patch by gerv; r=burnus.
git-svn-id: svn://10.0.0.236/trunk@131264 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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'});
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user