Skip to content

Commit

Permalink
Test environment CSRF fix (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmihalik authored Dec 13, 2024
1 parent eb5d6d5 commit c9c18cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webstrom/settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"test.strom.sk",
]

CSRF_TRUSTED_ORIGINS = [
"https://test.strom.sk",
]

USE_X_FORWARDED_HOST = True

SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
Expand Down

0 comments on commit c9c18cc

Please sign in to comment.