aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-04-27 13:26:36 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-04-27 13:26:36 +0200
commitf75dd1628cd3add8f69128ff63e0c1cd296cd2a3 (patch)
treeb2b017a47ea5720b04f925ba8464864888f3e889 /phpBB/index.php
parentf3c4587d47af6aa3e39368653b542f97ed3428c6 (diff)
parentb8368980162392bf9f97496ecec18abe2bd34fad (diff)
downloadforums-f75dd1628cd3add8f69128ff63e0c1cd296cd2a3.tar
forums-f75dd1628cd3add8f69128ff63e0c1cd296cd2a3.tar.gz
forums-f75dd1628cd3add8f69128ff63e0c1cd296cd2a3.tar.bz2
forums-f75dd1628cd3add8f69128ff63e0c1cd296cd2a3.tar.xz
forums-f75dd1628cd3add8f69128ff63e0c1cd296cd2a3.zip
Merge pull request #48 from phpbb/ticket/security/228
[ticket/security/228] Add form token to login box
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']),