Turn off basic_auth for /api if using username & password

This commit is contained in:
rembo10
2012-11-01 11:41:58 -04:00
parent c35ef320fb
commit 0a000342c1

View File

@@ -74,6 +74,7 @@ def initialize(options={}):
'tools.auth_basic.checkpassword': cherrypy.lib.auth_basic.checkpassword_dict(
{options['http_username']:options['http_password']})
})
conf['/api'] = { 'tools.auth_basic.on': False }
# Prevent time-outs