mirror of
https://github.com/elyby/accounts.git
synced 2025-02-05 00:19:40 +05:30
Суппорт jwt на фронте
This commit is contained in:
parent
179d610eef
commit
86c63f8724
@ -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,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user