mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 23:50:19 +05:30
Больше не возвращаем shouldChangePassword
This commit is contained in:
parent
b12997d7fc
commit
bfbcf141ee
@ -65,7 +65,6 @@ class AccountsController extends Controller {
|
|||||||
'username' => $account->username,
|
'username' => $account->username,
|
||||||
'email' => $account->email,
|
'email' => $account->email,
|
||||||
'lang' => $account->lang,
|
'lang' => $account->lang,
|
||||||
'shouldChangePassword' => $account->password_hash_strategy === Account::PASS_HASH_STRATEGY_OLD_ELY,
|
|
||||||
'isActive' => $account->status === Account::STATUS_ACTIVE,
|
'isActive' => $account->status === Account::STATUS_ACTIVE,
|
||||||
'passwordChangedAt' => $account->password_changed_at,
|
'passwordChangedAt' => $account->password_changed_at,
|
||||||
'hasMojangUsernameCollision' => $account->hasMojangUsernameCollision(),
|
'hasMojangUsernameCollision' => $account->hasMojangUsernameCollision(),
|
||||||
|
@ -26,7 +26,6 @@ class AccountsCurrentCest {
|
|||||||
'username' => 'Admin',
|
'username' => 'Admin',
|
||||||
'email' => 'admin@ely.by',
|
'email' => 'admin@ely.by',
|
||||||
'lang' => 'en',
|
'lang' => 'en',
|
||||||
'shouldChangePassword' => false,
|
|
||||||
'isActive' => true,
|
'isActive' => true,
|
||||||
'hasMojangUsernameCollision' => false,
|
'hasMojangUsernameCollision' => false,
|
||||||
'shouldAcceptRules' => false,
|
'shouldAcceptRules' => false,
|
||||||
|
Loading…
Reference in New Issue
Block a user