mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-25 04:19:31 +00:00
Updated recipes of security-bundle
This commit is contained in:
parent
508f70e7d6
commit
649bfc36c4
3 changed files with 10 additions and 10 deletions
|
|
@ -5,6 +5,8 @@ security:
|
|||
|
||||
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
|
||||
providers:
|
||||
in_memory: { memory: null }
|
||||
|
||||
# used to reload user from session & other features (e.g. switch_user)
|
||||
app_user_provider:
|
||||
entity:
|
||||
|
|
@ -15,7 +17,7 @@ security:
|
|||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
security: false
|
||||
main:
|
||||
anonymous: true
|
||||
anonymous: lazy
|
||||
user_checker: App\Security\UserChecker
|
||||
|
||||
two_factor:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue