mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	В запрос /currect добавлен вывод состояния включённости OTP авторизации
This commit is contained in:
		@@ -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