From 011108cb502c0c9d4ad37016f917046d1a7795de Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 8 Nov 2024 10:50:13 +1100 Subject: [PATCH] Adjustments to default template file (#8440) * Adjustments to default template file - Do not specify SAMESITE_COOKIE options by default - Fallback to the values in settings.py * Update config_template.yaml --- src/backend/InvenTree/config_template.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/backend/InvenTree/config_template.yaml b/src/backend/InvenTree/config_template.yaml index fa597167a1..934fa05d69 100644 --- a/src/backend/InvenTree/config_template.yaml +++ b/src/backend/InvenTree/config_template.yaml @@ -28,6 +28,10 @@ database: # Set debug to False to run in production mode, or use the environment variable INVENTREE_DEBUG debug: True +# Additional debug options +debug_querycount: False +debug_shell: False + # Set to False to disable the admin interface, or use the environment variable INVENTREE_ADMIN_ENABLED #admin_enabled: True @@ -114,10 +118,10 @@ use_x_forwarded_host: false # Override with the environment variable INVENTREE_USE_X_FORWARDED_PORT use_x_forwarded_port: false -# Cookie settings -cookie: - secure: false - samesite: false +# Cookie settings (nominally the default settings should be fine) +#cookie: +# secure: false +# samesite: false # Cross Origin Resource Sharing (CORS) settings (see https://github.com/adamchainz/django-cors-headers) cors: