Cleare session error message before login.

This commit is contained in:
Michal Čihař
2010-01-21 15:24:35 +00:00
parent ac9d23f535
commit ebf948d840

View File

@@ -79,6 +79,9 @@ function PMA_auth_check()
session_id($_COOKIE[$session_name]); session_id($_COOKIE[$session_name]);
session_start(); session_start();
/* Clear error message */
unset($_SESSION['PMA_single_signon_error_message']);
/* Grab credentials if they exist */ /* Grab credentials if they exist */
if (isset($_SESSION['PMA_single_signon_user'])) { if (isset($_SESSION['PMA_single_signon_user'])) {
if ($do_logout) { if ($do_logout) {