X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fclasses%2Ffilter%2Fvalidator%2Fclass_PasswordValidatorFilter.php;fp=framework%2Fmain%2Fclasses%2Ffilter%2Fvalidator%2Fclass_PasswordValidatorFilter.php;h=d910bdf7d4ad764904927f395a2d20f18b12ab62;hb=91de23a7cb7b4c51500d8ce1df76b8af8843cb0b;hp=1e2b226479ee2ec904e4674939c03eeef66acdcf;hpb=7ffdc10bef06624ca2c6cf58e1109f880bbbf13e;p=core.git diff --git a/framework/main/classes/filter/validator/class_PasswordValidatorFilter.php b/framework/main/classes/filter/validator/class_PasswordValidatorFilter.php index 1e2b2264..d910bdf7 100644 --- a/framework/main/classes/filter/validator/class_PasswordValidatorFilter.php +++ b/framework/main/classes/filter/validator/class_PasswordValidatorFilter.php @@ -87,13 +87,13 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable { if (empty($password1)) { // Add a message to the response $responseInstance->addFatalMessage('pass1_empty'); - } // END - if + } // Is the confirmation empty? if (empty($password2)) { // Add a message to the response $responseInstance->addFatalMessage('pass2_empty'); - } // END - if + } // Abort here throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);