disable password
This commit is contained in:
parent
1be85a89d8
commit
c476e9ac83
2 changed files with 5 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue