From ad537e737b389b3c77ff2ad12d9e6984e6fac2af Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 21 May 2022 18:09:11 +0200 Subject: [PATCH] Fix CSRF trust --- nummi/nummi/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nummi/nummi/settings.py b/nummi/nummi/settings.py index 0e74b95..06495c5 100644 --- a/nummi/nummi/settings.py +++ b/nummi/nummi/settings.py @@ -27,6 +27,7 @@ SECRET_KEY = "h/0OOuNSBRJy9Suo172Y5sJYGgmDqanh" DEBUG = False ALLOWED_HOSTS = ["nummi.edgarpierre.fr"] +CSRF_TRUSTED_ORIGINS = ["https://nummi.edgarpierre.fr"] # Application definition