Add json token login

This commit is contained in:
Xbird
2022-10-31 15:43:57 +00:00
parent 85fe815ed9
commit a4c3db0f4e
9 changed files with 133 additions and 2 deletions

View File

@@ -20,7 +20,9 @@ security:
lazy: true
provider: app_user_provider
switch_user: { role: ROLE_ADMIN, parameter: _want_to_be_this_user }
custom_authenticator: App\Security\FormAuthenticator
custom_authenticator:
- App\Security\FormAuthenticator
- App\Security\JsonAesAuthenticator
user_checker: App\Security\UserChecker
login_throttling:
max_attempts: 3