From 0a000342c10f509c30e9d6badd07d23c4a34d168 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 1 Nov 2012 11:41:58 -0400 Subject: [PATCH] Turn off basic_auth for /api if using username & password --- headphones/webstart.py | 1 + 1 file changed, 1 insertion(+) diff --git a/headphones/webstart.py b/headphones/webstart.py index a19a8b3e..b67c801f 100644 --- a/headphones/webstart.py +++ b/headphones/webstart.py @@ -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