From b130543380c087530e2ef38f359b3bd23815ee5d Mon Sep 17 00:00:00 2001 From: corbreedy Date: Tue, 26 Oct 2021 10:36:54 +0200 Subject: [PATCH] secure 2 --- hpst/static/img/favicon.ico | Bin hpst/templates/index.html | 1 - sinnestau/settings.py | 5 +++-- 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 hpst/static/img/favicon.ico diff --git a/hpst/static/img/favicon.ico b/hpst/static/img/favicon.ico old mode 100644 new mode 100755 diff --git a/hpst/templates/index.html b/hpst/templates/index.html index 3bb586b..2c7ff46 100644 --- a/hpst/templates/index.html +++ b/hpst/templates/index.html @@ -31,7 +31,6 @@ function toggleFunction() { {% endblock %} {% block style %} - /* Create a Parallax Effect */ .bgimg-1, .bgimg-2, .bgimg-3 { background-attachment: fixed; diff --git a/sinnestau/settings.py b/sinnestau/settings.py index 25db1b2..6c2c20f 100644 --- a/sinnestau/settings.py +++ b/sinnestau/settings.py @@ -144,7 +144,8 @@ EMAIL_HOST_USER = config('EMAIL_HOST_USER') EMAIL_HOST_PASSWORD = config('EMAIL_HOST_PASSWORD'); EMAIL_USE_TLS = True -#Debugging Options +#Debugging Options /Securing Options DEBUG = config('DEBUG', default=False, cast=bool) SESSION_COOKIE_SECURE=config('SESSIONCOOKIESECURE', default=False, cast=bool) - +SECURE_SSL_REDIRECT=config('SECURESSLREDIRECT', default=False, cast=bool) +CSRF_COOKIE_SECURE_SSL_REDIRECT=config('CSRFCOOKIESECURE', default=False, cast=bool)