1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/14789] Add form tokens to tests and uncomment add_form_key

PHPBB3-14789
This commit is contained in:
Marc Alexander
2016-09-18 11:47:18 +02:00
parent 585a3ed863
commit 72f6241aa2
2 changed files with 9 additions and 1 deletions

View File

@@ -254,7 +254,7 @@ class acp_search
$submit = $request->is_set_post('submit', false);
$form_key = 'acp_search';
//add_form_key($form_key);
add_form_key($form_key);
if (!check_form_key($form_key) && in_array($action, array('delete', 'create')))
{