Added login to the application to make authenticated api requests.

This commit is contained in:
krzysiej
2022-06-20 15:05:27 +02:00
parent 4536195a4c
commit 00bb86f798
13 changed files with 230 additions and 9 deletions

View File

@@ -14,6 +14,10 @@ security:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
json_login:
check_path: app_login_api
username_path: email
password_path: password
lazy: true
provider: app_user_provider
custom_authenticator: App\Security\CustomAuthenticator