// Call parent constructor
parent::__construct(__CLASS__);
- // Set part description
- $this->setObjectDescription("Guest login for Ship-Simu");
-
- // Create unique ID number
- $this->generateUniqueId();
-
// Clean up a little
$this->removeNumberFormaters();
$this->removeSystemArray();
} // END - if
// Is the password correct?
- if (!$userInstance->ifPasswordHashMatches($requestInstance)) {
+ if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
// Mismatching password
throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
} // END - if