Add csrf_trusted_origins setting
This commit is contained in:
parent
f60f944103
commit
935e57013d
1 changed files with 1 additions and 0 deletions
|
|
@ -20,5 +20,6 @@ MEDIA_ROOT = "/srv/www/beer.gwairfelin.com/media"
|
||||||
|
|
||||||
SESSION_COOKIE_SECURE = True
|
SESSION_COOKIE_SECURE = True
|
||||||
CSRF_COOKIE_SECURE = True
|
CSRF_COOKIE_SECURE = True
|
||||||
|
CSRF_TRUSTED_ORIGINS = ["https://beer.gwairfelin.com"]
|
||||||
|
|
||||||
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")
|
SECRET_KEY = os.environ.get("REINHEIT_SECRET_KEY")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue