mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +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
|
type: fingers_crossed
|
||||||
action_level: error
|
action_level: error
|
||||||
handler: nested
|
handler: nested
|
||||||
excluded_404s:
|
excluded_http_codes: [404, 405]
|
||||||
# regex: exclude all 404 errors from the logs
|
|
||||||
- ^/
|
|
||||||
nested:
|
nested:
|
||||||
type: stream
|
type: stream
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
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
|
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
|
||||||
providers:
|
providers:
|
||||||
|
in_memory: { memory: null }
|
||||||
|
|
||||||
# used to reload user from session & other features (e.g. switch_user)
|
# used to reload user from session & other features (e.g. switch_user)
|
||||||
app_user_provider:
|
app_user_provider:
|
||||||
entity:
|
entity:
|
||||||
|
@ -15,7 +17,7 @@ security:
|
||||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||||
security: false
|
security: false
|
||||||
main:
|
main:
|
||||||
anonymous: true
|
anonymous: lazy
|
||||||
user_checker: App\Security\UserChecker
|
user_checker: App\Security\UserChecker
|
||||||
|
|
||||||
two_factor:
|
two_factor:
|
||||||
|
|
12
symfony.lock
12
symfony.lock
|
@ -585,12 +585,12 @@
|
||||||
"version": "v4.4.2"
|
"version": "v4.4.2"
|
||||||
},
|
},
|
||||||
"symfony/monolog-bundle": {
|
"symfony/monolog-bundle": {
|
||||||
"version": "3.1",
|
"version": "3.3",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"version": "3.1",
|
"version": "3.3",
|
||||||
"ref": "18ebf5a940573a20de06f9c4060101eeb438cf3d"
|
"ref": "6240c6d43e8237a32452f057f81816820fd56ab6"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./config/packages/dev/monolog.yaml",
|
"./config/packages/dev/monolog.yaml",
|
||||||
|
@ -662,12 +662,12 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/security-bundle": {
|
"symfony/security-bundle": {
|
||||||
"version": "3.3",
|
"version": "4.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"version": "3.3",
|
"version": "4.4",
|
||||||
"ref": "f8a63faa0d9521526499c0a8f403c9964ecb0527"
|
"ref": "30efd98dd3b4ead6e9ad4713b1efc43bbe94bf77"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"./config/packages/security.yaml"
|
"./config/packages/security.yaml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue