Make cookie login form work with token protection.
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-04-25 Michal Čihař <michal@cihar.com>
|
||||||
|
* libraries/common.lib.php: Make cookie login form work with token
|
||||||
|
protection.
|
||||||
|
|
||||||
2006-04-25 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
2006-04-25 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||||
* db_details_qbe.php, db_printview.php, libraries/display_tbl.lib.php,
|
* db_details_qbe.php, db_printview.php, libraries/display_tbl.lib.php,
|
||||||
css/phpmyadmin.css.php, js/functions.js, pdf_pages.php:
|
css/phpmyadmin.css.php, js/functions.js, pdf_pages.php:
|
||||||
|
@@ -2779,6 +2779,8 @@ if (!isset($_REQUEST['token']) || $_SESSION['PMA_token'] != $_REQUEST['token'])
|
|||||||
'phpMyAdmin',
|
'phpMyAdmin',
|
||||||
/* Cookie preferences */
|
/* Cookie preferences */
|
||||||
'pma_lang', 'pma_charset', 'pma_collation_connection', 'pma_convcharset',
|
'pma_lang', 'pma_charset', 'pma_collation_connection', 'pma_convcharset',
|
||||||
|
/* Possible login form */
|
||||||
|
'pma_username', 'pma_password',
|
||||||
);
|
);
|
||||||
$keys = array_keys($_REQUEST);
|
$keys = array_keys($_REQUEST);
|
||||||
/* Remove any non allowed stuff from requests */
|
/* Remove any non allowed stuff from requests */
|
||||||
|
Reference in New Issue
Block a user