Make cookie login form work with token protection.

This commit is contained in:
Michal Čihař
2006-04-25 14:46:51 +00:00
parent 13358a2290
commit 47bbff3b81
2 changed files with 6 additions and 0 deletions

View File

@@ -2779,6 +2779,8 @@ if (!isset($_REQUEST['token']) || $_SESSION['PMA_token'] != $_REQUEST['token'])
'phpMyAdmin',
/* Cookie preferences */
'pma_lang', 'pma_charset', 'pma_collation_connection', 'pma_convcharset',
/* Possible login form */
'pma_username', 'pma_password',
);
$keys = array_keys($_REQUEST);
/* Remove any non allowed stuff from requests */