Allow all config options to be specified in realms-wiki.json

This commit is contained in:
Chase Sterling 2015-12-15 22:46:55 -05:00
parent dd5cbf5910
commit 20810138da
1 changed files with 2 additions and 2 deletions

View File

@ -169,8 +169,6 @@ WIKI_LOCKED_PAGES = []
ROOT_ENDPOINT = 'wiki.page'
globals().update(read())
# Used by Flask-Login
LOGIN_DISABLED = ALLOW_ANON
@ -196,6 +194,8 @@ if ENV != "DEV":
MODULES = ['wiki', 'search', 'auth']
globals().update(read())
if globals().get('AUTH_LOCAL_ENABLE'):
MODULES.append('auth.local')