Skip to content

Commit

Permalink
🔧[#45] add CSRF_COOKIE_HTTPONLY setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Coperh committed Aug 20, 2024
1 parent 802cb98 commit 4ee7dc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions open_api_framework/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@
)

CSRF_COOKIE_SECURE = IS_HTTPS
CSRF_COOKIE_HTTPONLY = True
CSRF_COOKIE_SAMESITE = config(
"CSRF_COOKIE_SAMESITE",
"Strict",
Expand Down

0 comments on commit 4ee7dc7

Please sign in to comment.