Merge branch 'profile'

This commit is contained in:
SleepWalker
2016-03-21 20:28:18 +02:00
6 changed files with 31 additions and 13 deletions

View File

@ -38,10 +38,12 @@ class AccountsController extends Controller {
return [
'id' => $account->id,
'uuid' => $account->uuid,
'username' => $account->username,
'email' => $account->email,
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
'isActive' => $account->status === Account::STATUS_ACTIVE,
'passwordChangedAt' => $account->password_changed_at,
];
}