Skip to content

Commit

Permalink
Merge pull request #50 from resum-ai/feat/login
Browse files Browse the repository at this point in the history
fix: csrf 주소 추가
  • Loading branch information
yjoonjang authored Mar 28, 2024
2 parents 9595311 + 56a07af commit 1a0bfce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resumai/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

SECURE_HSTS_SECONDS = 31536000
# SECURE_SSL_REDIRECT = True
CSRF_TRUSTED_ORIGINS=['https://*.resumai.kr']
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
SECURE_HSTS_PRELOAD=True
# SECURE_HSTS_INCLUDE_SUBDOMAINS=True
SESSION_COOKIE_SECURE=True

0 comments on commit 1a0bfce

Please sign in to comment.