mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
- Default value was previously 'True' - Documentation indicated that it was 'False' - Value in config_template.yaml was 'False' (but commented out) (cherry picked from commit d4ee8c53b21143bdf151010ebb3d3e27e1c3fb09) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
cab7a06146
commit
eed6223187
@ -1218,7 +1218,9 @@ SESSION_COOKIE_SECURE = (
|
|||||||
if DEBUG
|
if DEBUG
|
||||||
else (
|
else (
|
||||||
SESSION_COOKIE_SAMESITE == 'None'
|
SESSION_COOKIE_SAMESITE == 'None'
|
||||||
or get_boolean_setting('INVENTREE_SESSION_COOKIE_SECURE', 'cookie.secure', True)
|
or get_boolean_setting(
|
||||||
|
'INVENTREE_SESSION_COOKIE_SECURE', 'cookie.secure', False
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -124,9 +124,9 @@ use_x_forwarded_host: false
|
|||||||
use_x_forwarded_port: false
|
use_x_forwarded_port: false
|
||||||
|
|
||||||
# Cookie settings (nominally the default settings should be fine)
|
# Cookie settings (nominally the default settings should be fine)
|
||||||
#cookie:
|
cookie:
|
||||||
# secure: false
|
secure: false
|
||||||
# samesite: false
|
samesite: false
|
||||||
|
|
||||||
# Cross Origin Resource Sharing (CORS) settings (see https://github.com/adamchainz/django-cors-headers)
|
# Cross Origin Resource Sharing (CORS) settings (see https://github.com/adamchainz/django-cors-headers)
|
||||||
cors:
|
cors:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user