CC-4472: User password verify or clear text display.
-done with password verify
This commit is contained in:
parent
86f57cb953
commit
a129b0b081
7 changed files with 77 additions and 14 deletions
|
@ -80,4 +80,17 @@ Class Application_Form_Helper_ValidationTypes {
|
|||
return $validator;
|
||||
}
|
||||
|
||||
public static function overridePasswordIdenticalValidator($p_matchAgainst)
|
||||
{
|
||||
$validator = new Zend_Validate_Identical();
|
||||
$validator->setToken($p_matchAgainst);
|
||||
|
||||
$validator->setMessage(
|
||||
_("Passwords do not match"),
|
||||
Zend_Validate_Identical::NOT_SAME
|
||||
);
|
||||
|
||||
return $validator;
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue