diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-05-02 19:39:11 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-02 19:39:11 +0200 |
commit | 21b52567408341fcb69baae66c051f4d0a0e256b (patch) | |
tree | 79e702b81d6584395b4c3384e4508b312f30e106 /phpBB/includes | |
parent | b2f3f72eca85eb46a02ac64e8fbd1d937a4827d6 (diff) | |
parent | 540a6b7d2e7bfb9f2c24636a37127b16bbf6bc46 (diff) | |
download | forums-21b52567408341fcb69baae66c051f4d0a0e256b.tar forums-21b52567408341fcb69baae66c051f4d0a0e256b.tar.gz forums-21b52567408341fcb69baae66c051f4d0a0e256b.tar.bz2 forums-21b52567408341fcb69baae66c051f4d0a0e256b.tar.xz forums-21b52567408341fcb69baae66c051f4d0a0e256b.zip |
Merge pull request #5578 from rubencm/ticket/16036
[ticket/16036] Add S_FORM_TOKEN_LOGIN to all login forms
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1d1c9f6f4f..9032b79cbf 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2664,6 +2664,9 @@ function login_forum_box($forum_data) page_header($user->lang['LOGIN']); + // Add form token for login box + add_form_key('login', '_LOGIN'); + $template->assign_vars(array( 'FORUM_NAME' => isset($forum_data['forum_name']) ? $forum_data['forum_name'] : '', 'S_LOGIN_ACTION' => build_url(array('f')), |