Skip to content

Commit 6cdfeed

Browse files
Secure Setting for Django SESSION_COOKIE_SECURE flag (#28)
Co-authored-by: pixeebot[bot] <[email protected]>
1 parent 79b1f81 commit 6cdfeed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apidemo/apidemo/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,4 @@
142142
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
143143

144144
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
145+
SESSION_COOKIE_SECURE = True

0 commit comments

Comments
 (0)