mirror of
https://github.com/elyby/accounts.git
synced 2024-11-30 10:42:16 +05:30
Добавлен проброс дополнительных данных на фронт в методе account/current
This commit is contained in:
parent
d9a218e075
commit
81d4399bdd
@ -42,7 +42,7 @@ class AccountsController extends Controller {
|
||||
'email' => $account->email,
|
||||
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
|
||||
'isActive' => $account->status === Account::STATUS_ACTIVE,
|
||||
'password_changed_at' => $account->password_changed_at,
|
||||
'passwordChangedAt' => $account->password_changed_at,
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user