1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 20:32:11 +02:00

Merge pull request #5635 from EA117/ticket/16066

[ticket/16066] Fix FORM_INVALID always returned for banned user.
This commit is contained in:
Marc Alexander 2019-07-29 21:38:13 +02:00
commit 51205febe3
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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,