diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index 29ad81ce..5d94b560 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -40,7 +40,7 @@ function auth_error($exception = null) { global $ignore, $dbh, $adminer; $username = $_SESSION["usernames"][$_GET["server"]]; unset($_SESSION["usernames"][$_GET["server"]]); - page_header(lang('Login'), (isset($username) ? h($exception ? $exception->getMessage() : (is_string($dbh) ? $dbh : lang('Invalid credentials.'))) : (isset($_POST["server"]) ? lang('Sessions must be enabled.') : ($_POST ? lang('Session expired, please login again.') : ""))), null); + page_header(lang('Login'), (isset($username) ? h($exception ? $exception->getMessage() : (is_string($dbh) ? $dbh : lang('Invalid credentials.'))) : (isset($_POST["server"]) ? lang('Session support must be enabled.') : ($_POST ? lang('Session expired, please login again.') : ""))), null); echo "