fixed bug #551898 - Cookie auth and cookies refused
This commit is contained in:
@@ -15,6 +15,8 @@ $Source$
|
||||
- pursuit the "stay on the sub-pages as long as needed" work.
|
||||
* db_details.php3; db_details_export.php3; db_details_strucuture.php3:
|
||||
pursuit the "stay on the sub-pages as long as needed" work.
|
||||
* libraries/auth/cookie.auth.lib.php3, lines 386-392: fixed bug #551898 -
|
||||
Cookie auth and cookies refused.
|
||||
|
||||
2002-05-02 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lang/*.inc.php3: cleanup.
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user