- XHTML errors/warnings fixed in some pages
[shipsimu.git] / application / admin / main / login / class_AdminUserLogin.php
index a314269685942376591b5c7df4031d2f6a152c16..3cf2678d65df4a2e063069388ac72363649e1f13 100644 (file)
@@ -89,7 +89,7 @@ class AdminUserLogin 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