mirror of https://github.com/evilhero/mylar
FIX: remove forms-based login from OPDS
This commit is contained in:
parent
598036e226
commit
4b44da02ba
|
@ -163,7 +163,7 @@ def initialize(options):
|
||||||
'tools.auth_basic.realm': 'Mylar OPDS',
|
'tools.auth_basic.realm': 'Mylar OPDS',
|
||||||
'tools.auth_basic.checkpassword': cherrypy.lib.auth_basic.checkpassword_dict(user_list)}
|
'tools.auth_basic.checkpassword': cherrypy.lib.auth_basic.checkpassword_dict(user_list)}
|
||||||
else:
|
else:
|
||||||
conf['/opds'] = {'tools.auth_basic.on': False}
|
conf['/opds'] = {'tools.auth_basic.on': False, 'tools.auth.on': False}
|
||||||
|
|
||||||
# Prevent time-outs
|
# Prevent time-outs
|
||||||
cherrypy.engine.timeout_monitor.unsubscribe()
|
cherrypy.engine.timeout_monitor.unsubscribe()
|
||||||
|
|
Loading…
Reference in New Issue