diff --git a/clubhaus/clubhaus/settings.py b/clubhaus/clubhaus/settings.py index f4e6f74..913d1b0 100644 --- a/clubhaus/clubhaus/settings.py +++ b/clubhaus/clubhaus/settings.py @@ -73,6 +73,8 @@ if csrf_origins := os.getenv("CSRF_TRUSTED_ORIGINS"): WSGI_APPLICATION = 'clubhaus.wsgi.application' +SESSION_COOKIE_SECURE = True + # Database # https://docs.djangoproject.com/en/4.0/ref/settings/#databases diff --git a/clubhaus/homepage/templates/homepage/base.html b/clubhaus/homepage/templates/homepage/base.html index 58f3c33..22c8351 100644 --- a/clubhaus/homepage/templates/homepage/base.html +++ b/clubhaus/homepage/templates/homepage/base.html @@ -48,7 +48,7 @@ {% block main %}{% endblock %} -