mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 15:05:43 +02:00
[ticket/15607] Skip ban and disabled checks when deleting cookies
PHPBB3-15607
This commit is contained in:
parent
db71ca7db1
commit
204b18dd59
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user