forked from 0x2620/pandora
allow signups while using alternative auth backend
This commit is contained in:
parent
8417f9e886
commit
c253df7bc9
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ def load_config():
|
||||||
settings.SERVER_EMAIL = config['site']['email']['system']
|
settings.SERVER_EMAIL = config['site']['email']['system']
|
||||||
config['site']['videoprefix'] = settings.VIDEO_PREFIX
|
config['site']['videoprefix'] = settings.VIDEO_PREFIX
|
||||||
config['site']['version'] = get_version()
|
config['site']['version'] = get_version()
|
||||||
|
config['site']['dontValidateUser'] = not settings.AUTH_CHECK_USERNAME
|
||||||
if not 'folderdepth' in config['site']:
|
if not 'folderdepth' in config['site']:
|
||||||
config['site']['folderdepth'] = settings.USE_IMDB and 4 or 3
|
config['site']['folderdepth'] = settings.USE_IMDB and 4 or 3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue