Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Commits
155974a6
Commit
155974a6
authored
1 year ago
by
Theo Lesage
Committed by
Bastien Abadie
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Enable HttpOnly on session cookies
parent
2f91bfe3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2261
Enable HttpOnly on session cookies
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arkindex/project/settings.py
+0
-2
0 additions, 2 deletions
arkindex/project/settings.py
with
0 additions
and
2 deletions
arkindex/project/settings.py
+
0
−
2
View file @
155974a6
...
...
@@ -438,8 +438,6 @@ SESSION_COOKIE_NAME = conf["session"]["cookie_name"]
SESSION_COOKIE_DOMAIN
=
conf
[
"
session
"
][
"
cookie_domain
"
]
SESSION_COOKIE_SAMESITE
=
conf
[
"
session
"
][
"
cookie_samesite
"
].
value
SESSION_COOKIE_SECURE
=
conf
[
"
session
"
][
"
cookie_secure
"
]
# Required for authentication over websockets
SESSION_COOKIE_HTTPONLY
=
False
# When a real cache system is available, write the session to the cache
# and to the database (write-through), so that the backend can immediately checks
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment