Browse Source

secure 2

master
corbreedy 4 years ago
parent
commit
b130543380
  1. 0
      hpst/static/img/favicon.ico
  2. 1
      hpst/templates/index.html
  3. 5
      sinnestau/settings.py

0
hpst/static/img/favicon.ico

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

1
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;

5
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)

Loading…
Cancel
Save