Skip to content

Commit

Permalink
chore: Set CSRF_TRUSTED_HOSTS to localhost for dev (ietf-tools#5771)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards authored Jun 6, 2023
1 parent edd7282 commit 9cee316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,6 @@ def skip_unreadable_post(record):
# Cannot have this set to True if we're using http: from the dev-server:
CSRF_COOKIE_SECURE = False
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_TRUSTED_ORIGINS = ['http://localhost:8000']
SESSION_COOKIE_SECURE = False
SESSION_COOKIE_SAMESITE = 'Lax'

0 comments on commit 9cee316

Please sign in to comment.