aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorEA117 <admin@ea117.com>2019-07-28 15:15:39 -0500
committerEA117 <admin@ea117.com>2019-07-28 15:15:39 -0500
commit792882ef63977c6b7ca068c65383fb8be8372172 (patch)
tree5e55a0a698238c9859cc3e605762ad78354e9510 /phpBB/index.php
parentae62bc46428948cdfbb735c8b9b566d02c0f78f0 (diff)
downloadforums-792882ef63977c6b7ca068c65383fb8be8372172.tar
forums-792882ef63977c6b7ca068c65383fb8be8372172.tar.gz
forums-792882ef63977c6b7ca068c65383fb8be8372172.tar.bz2
forums-792882ef63977c6b7ca068c65383fb8be8372172.tar.xz
forums-792882ef63977c6b7ca068c65383fb8be8372172.zip
[ticket/16054] Restore ability to login from any template.
Moving the login form's add_form_key() work into page_header(), so that the template variables required for presenting a login form are again available to any template that chooses to consume them. PHPBB3-16054
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 5eee7723a9..13b914abd3 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -211,9 +211,6 @@ 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']),