protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
-
- // Set part description
- $this->setObjectDescription("A filter for account password verification");
-
- // Create unique ID number
- $this->generateUniqueId();
}
/**
// Does it match?
if ($oldHash != $passHash) {
// Throw an exception here to stop the proccessing
- throw new AccountPasswordMismatchException($this, User::EXCEPTION_USER_PASS_MISMATCH);
+ throw new AccountPasswordMismatchException($this, BaseUser::EXCEPTION_USER_PASS_MISMATCH);
} // END - if
}
}