diff --git a/ietf/settings.py b/ietf/settings.py index b4801f097..9f6284003 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -1295,6 +1295,6 @@ if SERVER_MODE != 'production': # Cannot have this set to True if we're using http: from the dev-server: CSRF_COOKIE_SECURE = False CSRF_COOKIE_SAMESITE = 'Lax' + CSRF_TRUSTED_ORIGINS = ['http://localhost:8000'] SESSION_COOKIE_SECURE = False SESSION_COOKIE_SAMESITE = 'Lax' -