Allow to disable login/password reset

This commit is contained in:
Raphael Michel
2016-06-06 22:58:17 +02:00
parent 87b7685cf9
commit a7647d8de2
4 changed files with 35 additions and 8 deletions

View File

@@ -60,6 +60,8 @@ STATIC_URL = config.get('urls', 'static', fallback='/static/')
MEDIA_URL = config.get('urls', 'media', fallback='/media/')
PRETIX_INSTANCE_NAME = config.get('pretix', 'instance_name', fallback='pretix.de')
PRETIX_REGISTRATION = config.getboolean('pretix', 'registration', fallback=True)
PRETIX_PASSWORD_RESET = config.getboolean('pretix', 'password_reset', fallback=True)
SITE_URL = config.get('pretix', 'url', fallback='http://localhost')