Require authentication for all endpoints except API

* And more minor UI changes
This commit is contained in:
JonnyWong16 2016-04-23 01:02:37 -07:00
parent d8ad9adabd
commit e99bc73e46
5 changed files with 147 additions and 22 deletions

View file

@ -124,9 +124,6 @@ def initialize(options):
},
}
if options['http_password']:
conf['/api'] = {'tools.auth.on': False}
# Prevent time-outs
cherrypy.engine.timeout_monitor.unsubscribe()
cherrypy.tree.mount(WebInterface(), options['http_root'], config=conf)