disable password

This commit is contained in:
j 2010-08-05 20:30:40 +02:00
parent 1be85a89d8
commit c476e9ac83
2 changed files with 5 additions and 1 deletions

View file

@ -737,6 +737,7 @@ if __name__ == '__main__':
root = OxControl(db) root = OxControl(db)
"""
username = root.db.get('username', 'fix') username = root.db.get('username', 'fix')
password = root.db.get('password', 'me') password = root.db.get('password', 'me')
@ -757,6 +758,8 @@ if __name__ == '__main__':
resource = HTTPAuthSessionWrapper(portal, [credentialFactory]) resource = HTTPAuthSessionWrapper(portal, [credentialFactory])
site = server.Site(resource) site = server.Site(resource)
"""
site = server.Site(root)
reactor.listenTCP(port, site, interface=interface) reactor.listenTCP(port, site, interface=interface)
reactor.run() reactor.run()

View file

@ -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); req.send(formData);
return true; return true;
}, },