Cleare session error message before login.
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user