summaryrefslogtreecommitdiffstats
path: root/default_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'default_settings.py')
-rw-r--r--default_settings.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/default_settings.py b/default_settings.py
index e9ae578..e185717 100644
--- a/default_settings.py
+++ b/default_settings.py
@@ -1,3 +1,6 @@
+from datetime import timedelta
+
+
SECRET_KEY = 'remember to change this to something more random and secret'
# CHANGE THIS! (e.g. os.urandom(32) )
@@ -8,7 +11,8 @@ MAIL_CONFIRM_SENDER = 'spline accounts <noreply@account.spline.de>'
SENDMAIL_COMMAND = '/usr/sbin/sendmail'
-SERVER_NAME = 'localhost:5000'
+# to make the cookie a session cookie, set this to None
+PERMANENT_SESSION_LIFETIME = timedelta(seconds=600) # 10 minutes
LDAP_HOST = 'ldap://localhost:5678'
LDAP_BASE_DN = [('dc','account'),('dc','spline'),('dc','inf'),('dc','fu-berlin'),('dc','de')]