FIX: Basic auth + OPDS auth conflict

This commit is contained in:
barbequesauce 2018-11-09 13:11:00 -05:00 committed by evilhero
parent 24130a8270
commit 10b3d5f00a
1 changed files with 2 additions and 1 deletions

View File

@ -159,7 +159,8 @@ def initialize(options):
user_list[options['opds_username']] = options['opds_password']
if options['http_password'] is not None and options['http_username'] != options['opds_username']:
user_list[options['http_username']] = options['http_password']
conf['/opds'] = {'tools.auth_basic.on': True,
conf['/opds'] = {'tools.auth.on': False,
'tools.auth_basic.on': True,
'tools.auth_basic.realm': 'Mylar OPDS',
'tools.auth_basic.checkpassword': cherrypy.lib.auth_basic.checkpassword_dict(user_list)}
else: