Fix CSRF trust

This commit is contained in:
Edgar P. Burkhart 2022-05-21 18:09:11 +02:00
parent 0eeb345003
commit ad537e737b
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -27,6 +27,7 @@ SECRET_KEY = "h/0OOuNSBRJy9Suo172Y5sJYGgmDqanh"
DEBUG = False
ALLOWED_HOSTS = ["nummi.edgarpierre.fr"]
CSRF_TRUSTED_ORIGINS = ["https://nummi.edgarpierre.fr"]
# Application definition