mirror of
https://github.com/elyby/accounts.git
synced 2026-10-20 12:48:07 +05:30
В запрос /currect добавлен вывод состояния включённости OTP авторизации
This commit is contained in:
1 parent
a2e1e9a805
commit
e82b8aa8cf
2 files changed
+2
No files matched your search
@@ -69,6 +69,7 @@ class AccountsController extends Controller {
|
||||
'passwordChangedAt' => $account->password_changed_at,
|
||||
'hasMojangUsernameCollision' => $account->hasMojangUsernameCollision(),
|
||||
'shouldAcceptRules' => !$account->isAgreedWithActualRules(),
|
||||
'isOtpEnabled' => (bool)$account->is_otp_enabled,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user