diff --git a/OxFF/bin/oxd.py b/OxFF/bin/oxd.py index cc3d1ad..4d3db1b 100755 --- a/OxFF/bin/oxd.py +++ b/OxFF/bin/oxd.py @@ -737,6 +737,7 @@ if __name__ == '__main__': root = OxControl(db) + """ username = root.db.get('username', 'fix') password = root.db.get('password', 'me') @@ -757,6 +758,8 @@ if __name__ == '__main__': resource = HTTPAuthSessionWrapper(portal, [credentialFactory]) site = server.Site(resource) + """ + site = server.Site(root) reactor.listenTCP(port, site, interface=interface) reactor.run() diff --git a/OxFF/components/OxFF.js b/OxFF/components/OxFF.js index 496f5fc..445d548 100644 --- a/OxFF/components/OxFF.js +++ b/OxFF/components/OxFF.js @@ -212,7 +212,8 @@ OxFF.prototype = { } } - req.open("POST", url, true, this.username, this.password); + //req.open("POST", url, true, this.username, this.password); + req.open("POST", url, true); req.send(formData); return true; },