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:
@@ -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')))
|
||||
{
|
||||
|
Reference in New Issue
Block a user