[FIX] Lock state 2 for admin locks
This commit is contained in:
parent
702ed49704
commit
7c8d7701f2
@ -23,7 +23,7 @@ case 'lock':
|
|||||||
$supress_master = 1;
|
$supress_master = 1;
|
||||||
// Reset user account
|
// Reset user account
|
||||||
if ($user->isLocked($_POST['account_id']) == 0) {
|
if ($user->isLocked($_POST['account_id']) == 0) {
|
||||||
$user->setLocked($_POST['account_id'], 1);
|
$user->setLocked($_POST['account_id'], 2);
|
||||||
} else {
|
} else {
|
||||||
$user->setLocked($_POST['account_id'], 0);
|
$user->setLocked($_POST['account_id'], 0);
|
||||||
$user->setUserFailed($_POST['account_id'], 0);
|
$user->setUserFailed($_POST['account_id'], 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user