fixed bug #551898 - Cookie auth and cookies refused

This commit is contained in:
Loïc Chapeaux
2002-05-03 15:47:41 +00:00
parent c73b0a952b
commit 535d565ed0
2 changed files with 9 additions and 0 deletions

View File

@@ -383,6 +383,13 @@ if (uname.value == '') {
$GLOBALS['is_https']);
} // end if
// Force reload when cookies are created for the first time to ensure
// the client accept cookies
if (!$from_cookie) {
header('Location: ' . $cfg['PmaAbsoluteUri'] . 'index.php3?lang=' . $GLOBALS['lang'] . '&server=' . $server);
exit();
}
return TRUE;
} // end of the 'PMA_auth_set_user()' function