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) {