Created
December 20, 2012 11:00
-
-
Save andkirby/4344634 to your computer and use it in GitHub Desktop.
test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Validate password | |
* | |
* @param Varien_Object $object | |
* @return bool | |
*/ | |
public function validate($object) | |
{ | |
$password = $object->getPassword(); | |
if ($password && $password == $object->getPasswordConfirm()) { | |
return true; | |
} | |
return parent::validate($object); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment