mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-28 11:32:57 +01:00
Merge pull request #5353 from Elsensee/ticket/15607
[ticket/15607] Skip ban and disabled checks when deleting cookies
This commit is contained in:
commit
a0d2f4cab1
@ -30,6 +30,12 @@ if (in_array($mode, array('login', 'login_link', 'logout', 'confirm', 'sendpassw
|
|||||||
define('IN_LOGIN', true);
|
define('IN_LOGIN', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($mode === 'delete_cookies')
|
||||||
|
{
|
||||||
|
define('SKIP_CHECK_BAN', true);
|
||||||
|
define('SKIP_CHECK_DISABLED', true);
|
||||||
|
}
|
||||||
|
|
||||||
// Start session management
|
// Start session management
|
||||||
$user->session_begin();
|
$user->session_begin();
|
||||||
$auth->acl($user->data);
|
$auth->acl($user->data);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user