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 reporting, sends stacktrace to sentry.services.beryju.org
error_report_enabled: true error_report_enabled: true
domains: domain: passbook.local
- passbook.local
primary_domain: 'localhost'
passbook: passbook:
sign_up: sign_up:
@ -48,8 +46,6 @@ passbook:
uid_fields: uid_fields:
- username - username
- email - email
session:
remember_age: 2592000 # 60 * 60 * 24 * 30, one month
# Provider-specific settings # Provider-specific settings
ldap: ldap:
# Which field from `uid_fields` maps to which LDAP Attribute # Which field from `uid_fields` maps to which LDAP Attribute
@ -61,6 +57,3 @@ ldap:
username: "%(sAMAccountName)s" username: "%(sAMAccountName)s"
email: "%(mail)s" email: "%(mail)s"
name: "%(displayName)" 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' CSRF_COOKIE_NAME = 'passbook_csrf'
SESSION_COOKIE_NAME = 'passbook_session' SESSION_COOKIE_NAME = 'passbook_session'
SESSION_COOKIE_DOMAIN = CONFIG.y('domain', None)
LANGUAGE_COOKIE_NAME = 'passbook_language' LANGUAGE_COOKIE_NAME = 'passbook_language'
AUTHENTICATION_BACKENDS = [ AUTHENTICATION_BACKENDS = [