if ($userInstance->ifPasswordHashMatches($requestInstance) === false) {
// Mismatching password
throw new UserPasswordMismatchException(array($this, $userInstance), BaseUser::EXCEPTION_USER_PASS_MISMATCH);
- } // END - if
+ }
// Now do the real login. This can be cookie- or session-based login
// which depends on the admins setting then on the user's taste.
// Store the hash back in request
$this->getRequestInstance()->setRequestElement('pass_hash', $this->hashedPassword);
- } // END - if
+ }
}
}