cleanup of user's choices stored in session

This commit is contained in:
Marc Delisle
2007-06-23 22:18:15 +00:00
parent 7d29630f9b
commit 244b62f61d
3 changed files with 16 additions and 2 deletions

View File

@@ -142,6 +142,8 @@ function PMA_auth_check()
if (!empty($old_usr)
&& (isset($PHP_AUTH_USER) && $old_usr == $PHP_AUTH_USER)) {
$PHP_AUTH_USER = '';
// -> delete user's choices that were stored in session
require_once './libraries/session_cleanup.lib.php';
}
// Returns whether we get authentication settings or not