diff options
| author | rubencm <rubencm@gmail.com> | 2019-04-29 15:44:31 +0000 |
|---|---|---|
| committer | rubencm <rubencm@gmail.com> | 2019-04-29 16:13:26 +0000 |
| commit | 540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46 (patch) | |
| tree | 352815f547e9e77fe780726b935fdbbb2c084028 /phpBB/viewforum.php | |
| parent | 055d7658db7817b80d00b27d6e99cad961d0ee15 (diff) | |
| download | forums-540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46.tar forums-540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46.tar.gz forums-540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46.tar.bz2 forums-540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46.tar.xz forums-540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46.zip | |
[ticket/16036] Add S_FORM_TOKEN_LOGIN to all login forms
PHPBB3-16036
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 72c96e2d2d..5525a0d462 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -198,6 +198,9 @@ 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, )); |
