diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-07-29 21:38:13 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-07-29 21:38:13 +0200 |
commit | 51205febe37e0df26eafa966ddcf32015ef62d6e (patch) | |
tree | 646e056f16844f7ed594f33ecdd58528331f8f6c /phpBB/includes | |
parent | 6440f97a4f40020132da79d41391651ee60802d9 (diff) | |
parent | 636fc7fad7dcb61622f23b36141b87ee13a1090d (diff) | |
download | forums-51205febe37e0df26eafa966ddcf32015ef62d6e.tar forums-51205febe37e0df26eafa966ddcf32015ef62d6e.tar.gz forums-51205febe37e0df26eafa966ddcf32015ef62d6e.tar.bz2 forums-51205febe37e0df26eafa966ddcf32015ef62d6e.tar.xz forums-51205febe37e0df26eafa966ddcf32015ef62d6e.zip |
Merge pull request #5635 from EA117/ticket/16066
[ticket/16066] Fix FORM_INVALID always returned for banned user.
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2e2b2a01d8..47c4197d96 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2364,7 +2364,7 @@ function login_box($redirect = '', $l_explain = '', $l_success = '', $admin = fa } // Check form key - if ($password && !check_form_key($form_name)) + if ($password && !defined('IN_CHECK_BAN') && !check_form_key($form_name)) { $result = array( 'status' => false, |