added configuration option to disable user signup (#27)

added configuration option to disable user signup
This commit is contained in:
Jenny 2018-11-09 22:47:23 +01:00 committed by Laura
parent 7a896073e4
commit 21f4f23857
3 changed files with 129 additions and 114 deletions

View file

@ -338,6 +338,7 @@ HEADER_TEXT_HOVER_COLOR = config.get('c3nav', 'header_text_hover_color', fallbac
WIFI_SSIDS = [n for n in config.get('c3nav', 'wifi_ssids', fallback='').split(',') if n]
USER_REGISTRATION = config.getboolean('c3nav', 'user_registration', fallback=True)
LIBSASS_CUSTOM_FUNCTIONS = {
'primary_color': lambda: PRIMARY_COLOR,