diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 359dc039e..a858f44ec 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -222,7 +222,7 @@ if (top != self) { // BEGIN Swekey Integration $swekeyErr = Swekey_auth_error(); if ($swekeyErr != null) { - PMA_Message::error($swekeyErr)->display(); + PMA_Message::error($swekeyErr)->display(); if ($GLOBALS['error_handler']->hasDisplayErrors()) { echo '
'; $GLOBALS['error_handler']->dispErrors(); @@ -242,7 +242,7 @@ if (top != self) { } else { $user_input_disabled = ''; } - // END Swekey Integration + // END Swekey Integration ?>
@@ -412,8 +412,9 @@ function PMA_auth_check() } // BEGIN Swekey Integration - if (! Swekey_auth_check()) + if (! Swekey_auth_check()) { return false; + } // END Swekey Integration if (defined('PMA_CLEAR_COOKIES')) {