Release 2.2.0 (#4359)

* deactivate deprecation logging in prod for now
* fix several deprecations
* enable CSRF for logout
* allow more twig methods and functions in InvoiceSecurity policy
This commit is contained in:
Kevin Papst
2023-10-31 16:41:09 +01:00
committed by GitHub
parent 114617a052
commit 95f15e6c88
22 changed files with 396 additions and 324 deletions

View File

@@ -1,6 +1,6 @@
when@prod:
monolog:
channels: ["deprecation"]
# channels: ["deprecation"]
handlers:
main:
type: fingers_crossed
@@ -15,10 +15,11 @@ when@prod:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
deprecation:
type: stream
channels: ["deprecation"]
path: "%kernel.logs_dir%/deprecations.log"
# deactivated, because currently there are too many deprecations cause by gedmo and doctrine
# deprecation:
# type: stream
# channels: ["deprecation"]
# path: "%kernel.logs_dir%/deprecations.log"
when@dev:
monolog:

View File

@@ -60,6 +60,7 @@ security:
logout:
path: logout
target: homepage
enable_csrf: true
login_throttling:
max_attempts: 5