From 5fb43e069384264ce637fc1bf1d46e4e46b9237d Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 5 Jul 2007 12:58:03 +0000 Subject: [PATCH] Allow login on more servers in one session git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@44 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- auth.inc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/auth.inc.php b/auth.inc.php index d9731440..770f2c72 100644 --- a/auth.inc.php +++ b/auth.inc.php @@ -1,26 +1,26 @@ " . lang('Logout successful.') . "

\n"; - } elseif (isset($_SESSION["username"])) { + } elseif (isset($_SESSION["usernames"][$_GET["server"]])) { echo "

" . lang('Invalid credentials.') . "

\n"; } ?>
- +
:" maxlength="60" />
:" maxlength="16" />
:" maxlength="16" />
:
$val) { // expired session