diff options
| author | EA117 <admin@ea117.com> | 2019-07-28 15:15:39 -0500 |
|---|---|---|
| committer | EA117 <admin@ea117.com> | 2019-07-28 15:15:39 -0500 |
| commit | 792882ef63977c6b7ca068c65383fb8be8372172 (patch) | |
| tree | 5e55a0a698238c9859cc3e605762ad78354e9510 /phpBB/viewforum.php | |
| parent | ae62bc46428948cdfbb735c8b9b566d02c0f78f0 (diff) | |
| download | forums-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/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 5525a0d462..72c96e2d2d 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -198,9 +198,6 @@ if (!($forum_data['forum_type'] == FORUM_POST || (($forum_data['forum_flags'] & // We also make this circumstance available to the template in case we want to display a notice. ;) if (!$auth->acl_gets('f_read', 'f_list_topics', $forum_id)) { - // Add form token for login box - add_form_key('login', '_LOGIN'); - $template->assign_vars(array( 'S_NO_READ_ACCESS' => true, )); |
