mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16036] Add S_FORM_TOKEN_LOGIN to all login forms
PHPBB3-16036
This commit is contained in:
@@ -2664,6 +2664,9 @@ function login_forum_box($forum_data)
|
||||
|
||||
page_header($user->lang['LOGIN']);
|
||||
|
||||
// Add form token for login box
|
||||
add_form_key('login', '_LOGIN');
|
||||
|
||||
$template->assign_vars(array(
|
||||
'FORUM_NAME' => isset($forum_data['forum_name']) ? $forum_data['forum_name'] : '',
|
||||
'S_LOGIN_ACTION' => build_url(array('f')),
|
||||
|
Reference in New Issue
Block a user