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

This commit is contained in:
ErickSkrauch committed 2016-11-14 20:14:10 +03:00
1 parent b12997d7fc
commit bfbcf141ee
2 files changed
-2

No files matched your search

-1
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(),