mirror of
https://github.com/stan220/chixana.git
synced 2026-09-08 17:28:46 +00:00
Added chix module.
This commit is contained in:
@@ -5,6 +5,13 @@ security:
|
||||
my_provider:
|
||||
entity: { class: App:User, property: username }
|
||||
|
||||
access_control:
|
||||
- { path: '^/connect/google', roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: '^/connect/google/check', roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
|
||||
- { path: ^/(.+), roles: IS_AUTHENTICATED_FULLY }
|
||||
|
||||
firewalls:
|
||||
# disables authentication for assets and the profiler, adapt it according to your needs
|
||||
dev:
|
||||
@@ -21,3 +28,9 @@ security:
|
||||
guard:
|
||||
authenticators:
|
||||
- App\Security\GoogleAuthenticator
|
||||
|
||||
form_login:
|
||||
login_path: /connect/google
|
||||
check_path: /connect/google/check
|
||||
|
||||
access_denied_url: /connect/google
|
||||
|
||||
Reference in New Issue
Block a user