1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-10 08:25:42 +02:00

[ticket/15607] Skip ban and disabled checks when deleting cookies

PHPBB3-15607
This commit is contained in:
Oliver Schramm 2018-09-14 11:21:55 +02:00
parent db71ca7db1
commit 204b18dd59

View File

@ -30,6 +30,12 @@ if (in_array($mode, array('login', 'login_link', 'logout', 'confirm', 'sendpassw
define('IN_LOGIN', true);
}
if ($mode === 'delete_cookies')
{
define('SKIP_CHECK_BAN', true);
define('SKIP_CHECK_DISABLED', true);
}
// Start session management
$user->session_begin();
$auth->acl($user->data);