mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: update login
This commit is contained in:
@@ -15,7 +15,7 @@ security:
|
||||
security: false
|
||||
|
||||
api_login:
|
||||
pattern: ^/api/login
|
||||
pattern: ^/api/login$
|
||||
stateless: true
|
||||
json_login:
|
||||
check_path: api_login
|
||||
@@ -30,6 +30,9 @@ security:
|
||||
main:
|
||||
custom_authenticators:
|
||||
- App\Security\OAuthAuthenticator
|
||||
logout:
|
||||
path: /logout
|
||||
target: /
|
||||
|
||||
# activate different ways to authenticate
|
||||
# https://symfony.com/doc/current/security.html#the-firewall
|
||||
|
||||
@@ -6,6 +6,7 @@ controllers:
|
||||
|
||||
api_login:
|
||||
path: /api/login
|
||||
methods: [ 'POST' ]
|
||||
|
||||
oauth_connect_check:
|
||||
path: /login/oauth/check
|
||||
|
||||
Reference in New Issue
Block a user