mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Суппорт jwt на фронте
This commit is contained in:
@@ -38,6 +38,7 @@ class AccountsController extends Controller {
|
|||||||
'username' => $account->username,
|
'username' => $account->username,
|
||||||
'email' => $account->email,
|
'email' => $account->email,
|
||||||
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
|
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
|
||||||
|
'isActive' => $account->status === Account::STATUS_ACTIVE,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user