From c476e9ac838d522129584774e4cd22e515da7773 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 5 Aug 2010 20:30:40 +0200 Subject: [PATCH] disable password --- OxFF/bin/oxd.py | 3 +++ OxFF/components/OxFF.js | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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; },