Permalink
Browse files

Added security settings to default configuration.

see #1592
  • Loading branch information...
tonioo committed Nov 28, 2018
1 parent e4f979c commit 5807395d6fcce40f657a06aa3996377739294320
Showing with 9 additions and 0 deletions.
  1. +7 −0 doc/upgrade.rst
  2. +2 −0 modoboa/core/commands/templates/settings.py.tpl
@@ -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

0 comments on commit 5807395

Please sign in to comment.