From ebf948d840a261e3fdec36d7db43d5e29510747d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 21 Jan 2010 15:24:35 +0000 Subject: [PATCH] Cleare session error message before login. --- libraries/auth/signon.auth.lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/auth/signon.auth.lib.php b/libraries/auth/signon.auth.lib.php index 0884a6c7b..b3150eb80 100644 --- a/libraries/auth/signon.auth.lib.php +++ b/libraries/auth/signon.auth.lib.php @@ -79,6 +79,9 @@ function PMA_auth_check() session_id($_COOKIE[$session_name]); session_start(); + /* Clear error message */ + unset($_SESSION['PMA_single_signon_error_message']); + /* Grab credentials if they exist */ if (isset($_SESSION['PMA_single_signon_user'])) { if ($do_logout) {