Skip to content

Commit ac17e91

Browse files
authored
Merge pull request #55 from maykinmedia/feature/45-same-site-options
🔧[#45] add CSRF_COOKIE_HTTPONLY setting
2 parents 802cb98 + 4ee7dc7 commit ac17e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

open_api_framework/conf/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@
552552
)
553553

554554
CSRF_COOKIE_SECURE = IS_HTTPS
555+
CSRF_COOKIE_HTTPONLY = True
555556
CSRF_COOKIE_SAMESITE = config(
556557
"CSRF_COOKIE_SAMESITE",
557558
"Strict",

0 commit comments

Comments
 (0)