mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Updated recipes of security-bundle
This commit is contained in:
parent
508f70e7d6
commit
649bfc36c4
3 changed files with 10 additions and 10 deletions
|
@ -4,9 +4,7 @@ monolog:
|
|||
type: fingers_crossed
|
||||
action_level: error
|
||||
handler: nested
|
||||
excluded_404s:
|
||||
# regex: exclude all 404 errors from the logs
|
||||
- ^/
|
||||
excluded_http_codes: [404, 405]
|
||||
nested:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||
|
|
|
@ -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:
|
||||
|
|
12
symfony.lock
12
symfony.lock
|
@ -585,12 +585,12 @@
|
|||
"version": "v4.4.2"
|
||||
},
|
||||
"symfony/monolog-bundle": {
|
||||
"version": "3.1",
|
||||
"version": "3.3",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "master",
|
||||
"version": "3.1",
|
||||
"ref": "18ebf5a940573a20de06f9c4060101eeb438cf3d"
|
||||
"version": "3.3",
|
||||
"ref": "6240c6d43e8237a32452f057f81816820fd56ab6"
|
||||
},
|
||||
"files": [
|
||||
"./config/packages/dev/monolog.yaml",
|
||||
|
@ -662,12 +662,12 @@
|
|||
]
|
||||
},
|
||||
"symfony/security-bundle": {
|
||||
"version": "3.3",
|
||||
"version": "4.4",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "master",
|
||||
"version": "3.3",
|
||||
"ref": "f8a63faa0d9521526499c0a8f403c9964ecb0527"
|
||||
"version": "4.4",
|
||||
"ref": "30efd98dd3b4ead6e9ad4713b1efc43bbe94bf77"
|
||||
},
|
||||
"files": [
|
||||
"./config/packages/security.yaml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue