diff options
author | 2018-09-14 11:21:55 +0200 | |
---|---|---|
committer | 2018-09-14 11:21:55 +0200 | |
commit | 204b18dd593a85374927e313e1af19c86f78055b (patch) | |
tree | d135f4332ec60506f040e519fe0f96a3a89b2b93 /phpBB/ucp.php | |
parent | Merge branch 'prep-release-3.2.3' into 3.2.x (diff) | |
download | phpbb-204b18dd593a85374927e313e1af19c86f78055b.tar.gz phpbb-204b18dd593a85374927e313e1af19c86f78055b.tar.bz2 phpbb-204b18dd593a85374927e313e1af19c86f78055b.zip |
[ticket/15607] Skip ban and disabled checks when deleting cookies
PHPBB3-15607
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r-- | phpBB/ucp.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 7eca5ede62..b72006b37f 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -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); |