Added security settings to default configuration.

see #1592
This commit is contained in:
Antoine Nguyen
2018-11-28 13:31:41 +01:00
parent e4f979c995
commit 5807395d6f
2 changed files with 9 additions and 0 deletions
+7
View File
@@ -110,6 +110,13 @@ Add ``'modoboa.dnstools'`` to ``MODOBOA_APPS``:
'modoboa.dnstools',
)
Add the following new settings:
.. sourcecode:: python
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
modoboa-postfix-autoreply 1.5.0
===============================
@@ -50,6 +50,8 @@ SITE_ID = 1
# Security settings
X_FRAME_OPTIONS = "SAMEORIGIN"
CSRF_COOKIE_SECURE = True
SESSION_COOKIE_SECURE = True
# Application definition