Skip to content

Commit

Permalink
fixing CSRF domain validity
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiroUsagi-san authored and Lugrim committed Oct 14, 2023
1 parent 7bf2747 commit 341a042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion insalan/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"http://api." + getenv("WEBSITE_HOST", "localhost")

]

CSRF_COOKIE_DOMAIN = '.' + getenv("WEBSITE_HOST", "localhost")
# MAILER SETTINGS
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"

Expand Down

0 comments on commit 341a042

Please sign in to comment.