mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
Больше не возвращаем shouldChangePassword
This commit is contained in:
parent
b12997d7fc
commit
bfbcf141ee
@ -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(),
|
||||
|
@ -26,7 +26,6 @@ class AccountsCurrentCest {
|
||||
'username' => 'Admin',
|
||||
'email' => 'admin@ely.by',
|
||||
'lang' => 'en',
|
||||
'shouldChangePassword' => false,
|
||||
'isActive' => true,
|
||||
'hasMojangUsernameCollision' => false,
|
||||
'shouldAcceptRules' => false,
|
||||
|
Loading…
Reference in New Issue
Block a user