Добавлен проброс дополнительных данных на фронт в методе account/current

This commit is contained in:
ErickSkrauch 2016-03-12 01:02:52 +03:00
parent d9a218e075
commit 81d4399bdd

View File

@ -42,7 +42,7 @@ class AccountsController extends Controller {
'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, 'isActive' => $account->status === Account::STATUS_ACTIVE,
'password_changed_at' => $account->password_changed_at, 'passwordChangedAt' => $account->password_changed_at,
]; ];
} }