Skip to content

Commit

Permalink
Merge pull request #55 from maykinmedia/feature/45-same-site-options
Browse files Browse the repository at this point in the history
🔧[#45] add CSRF_COOKIE_HTTPONLY setting
  • Loading branch information
Coperh authored Aug 20, 2024
2 parents 802cb98 + 4ee7dc7 commit ac17e91
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 ac17e91

Please sign in to comment.