]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/login/class_ShipSimuUserLogin.php
- XHTML errors/warnings fixed in some pages
[shipsimu.git] / application / ship-simu / main / login / class_ShipSimuUserLogin.php
index e3540405507a7b177f90ac8765d7599648063e6e..541e18810234714cf464e1fcc9d7b34965b5a06b 100644 (file)
@@ -89,7 +89,7 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser {
                } // 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