Больше не возвращаем shouldChangePassword

This commit is contained in:
ErickSkrauch
2016-11-14 20:14:10 +03:00
parent b12997d7fc
commit bfbcf141ee
2 changed files with 0 additions and 2 deletions

View File

@ -65,7 +65,6 @@ class AccountsController extends Controller {
'username' => $account->username,
'email' => $account->email,
'lang' => $account->lang,
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
'isActive' => $account->status === Account::STATUS_ACTIVE,
'passwordChangedAt' => $account->password_changed_at,
'hasMojangUsernameCollision' => $account->hasMojangUsernameCollision(),