lib(minor): cleanup default settings

This commit is contained in:
Langhammer, Jens 2019-10-08 10:44:44 +02:00
parent 1018309413
commit 72769b8a0a
2 changed files with 2 additions and 8 deletions

View File

@ -16,9 +16,7 @@ debug: false
# Error reporting, sends stacktrace to sentry.services.beryju.org
error_report_enabled: true
domains:
- passbook.local
primary_domain: 'localhost'
domain: passbook.local
passbook:
sign_up:
@ -48,8 +46,6 @@ passbook:
uid_fields:
- username
- email
session:
remember_age: 2592000 # 60 * 60 * 24 * 30, one month
# Provider-specific settings
ldap:
# Which field from `uid_fields` maps to which LDAP Attribute
@ -61,6 +57,3 @@ ldap:
username: "%(sAMAccountName)s"
email: "%(mail)s"
name: "%(displayName)"
app_gw:
listen: 0.0.0.0
port: 8000

View File

@ -47,6 +47,7 @@ AUTH_USER_MODEL = 'passbook_core.User'
CSRF_COOKIE_NAME = 'passbook_csrf'
SESSION_COOKIE_NAME = 'passbook_session'
SESSION_COOKIE_DOMAIN = CONFIG.y('domain', None)
LANGUAGE_COOKIE_NAME = 'passbook_language'
AUTHENTICATION_BACKENDS = [