1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 12:14:06 +02:00

[ticket/security/228] Add form token to login box

SECURITY-228
This commit is contained in:
Derky
2019-04-26 12:08:37 +02:00
parent 507efee633
commit b836898016
4 changed files with 22 additions and 2 deletions

View File

@@ -211,6 +211,9 @@ if ($show_birthdays)
$template->assign_block_vars_array('birthdays', $birthdays);
}
// Add form token for login box
add_form_key('login', '_LOGIN');
// Assign index specific vars
$template->assign_vars(array(
'TOTAL_POSTS' => $user->lang('TOTAL_POSTS_COUNT', (int) $config['num_posts']),