Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
6efe0ae3
Commit
6efe0ae3
authored
Feb 26, 2018
by
Laury Bueno
Browse files
[Prod] CSRF cookie is no longer marked as HTTP only
parent
a4ce753e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/settings/production.py
config/settings/production.py
+1
-1
No files found.
config/settings/production.py
View file @
6efe0ae3
...
...
@@ -50,7 +50,7 @@ SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY
=
True
SECURE_SSL_REDIRECT
=
env
.
bool
(
'DJANGO_SECURE_SSL_REDIRECT'
,
default
=
True
)
CSRF_COOKIE_SECURE
=
True
CSRF_COOKIE_HTTPONLY
=
Tru
e
CSRF_COOKIE_HTTPONLY
=
Fals
e
X_FRAME_OPTIONS
=
'DENY'
# SITE CONFIGURATION
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment