Updated recipes of security-bundle

This commit is contained in:
Jan Böhmer 2020-01-07 19:25:19 +01:00
parent 508f70e7d6
commit 649bfc36c4
3 changed files with 10 additions and 10 deletions

View file

@ -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"

View file

@ -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:

View file

@ -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"