aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2019-04-26 12:08:37 +0200
committerDerky <derky@phpbb.com>2019-04-26 12:11:52 +0200
commitb8368980162392bf9f97496ecec18abe2bd34fad (patch)
treeac2c5ba156d76c26df7336c21c3ab22cb976ff35 /phpBB/index.php
parent507efee633fee769e7e2af4a2b298c951193f800 (diff)
downloadforums-b8368980162392bf9f97496ecec18abe2bd34fad.tar
forums-b8368980162392bf9f97496ecec18abe2bd34fad.tar.gz
forums-b8368980162392bf9f97496ecec18abe2bd34fad.tar.bz2
forums-b8368980162392bf9f97496ecec18abe2bd34fad.tar.xz
forums-b8368980162392bf9f97496ecec18abe2bd34fad.zip
[ticket/security/228] Add form token to login box
SECURITY-228
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 13b914abd3..5eee7723a9 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -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']),