mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Allow http_method_override again needed for deletion controllers
Fixes issue #149 and #146
This commit is contained in:
parent
28257bd8a4
commit
c8c15fe67f
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@
|
||||||
framework:
|
framework:
|
||||||
secret: '%env(APP_SECRET)%'
|
secret: '%env(APP_SECRET)%'
|
||||||
csrf_protection: true
|
csrf_protection: true
|
||||||
http_method_override: false
|
|
||||||
|
# Must be set to true, to enable the change of HTTP methhod via _method parameter, otherwise our delete routines does not work anymore
|
||||||
|
# TODO: Rework delete routines to work without _method parameter as it is not recommended anymore (see https://github.com/symfony/symfony/issues/45278)
|
||||||
|
http_method_override: true
|
||||||
|
|
||||||
# Allow users to configure trusted hosts via .env variables
|
# Allow users to configure trusted hosts via .env variables
|
||||||
# see https://symfony.com/doc/current/reference/configuration/framework.html#trusted-hosts
|
# see https://symfony.com/doc/current/reference/configuration/framework.html#trusted-hosts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue