added authenticator

This commit is contained in:
2021-05-30 17:44:10 +02:00
parent 5a15194c5b
commit e7de1931fc
4 changed files with 191 additions and 0 deletions

View File

@@ -18,6 +18,13 @@ security:
anonymous: true
lazy: true
provider: app_user_provider
guard:
authenticators:
- App\Security\AppAuthenticator
logout:
path: app_logout
# where to redirect after logout
# target: app_any_route
# activate different ways to authenticate
# https://symfony.com/doc/current/security.html#firewalls-authentication