Skip to content

Commit

Permalink
Merge pull request #1109 from lakridserne/feature/protect_against_x_f…
Browse files Browse the repository at this point in the history
…rame_attacks

Forhindre at formularer indlejres i andre sider
  • Loading branch information
lakridserne authored Sep 16, 2024
2 parents b9b3cf4 + 5f3427c commit d80ced7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forenings_medlemmer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@

SECURE_SSL_REDIRECT = env.bool("FORCE_HTTPS")
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True


LOGIN_URL = "/account/login/"
Expand Down

0 comments on commit d80ced7

Please sign in to comment.