[MERGE] Use the new authenticate() API instead of login()
authorOlivier Dony <odo@openerp.com>
Tue, 13 Dec 2011 16:15:54 +0000 (17:15 +0100)
committerOlivier Dony <odo@openerp.com>
Tue, 13 Dec 2011 16:15:54 +0000 (17:15 +0100)
commit9835cebe195bc9ca9bffd5d4e2cba680d366b82b
tree441881a902a8f01fea04a97d76f6bbc3b35e6669
parent020c0927e43b55f897fb4a990db4db051c8a55d3
parent5ea774f883f1ac71ca98906a5ec5811b7e55e132
[MERGE] Use the new authenticate() API instead of login()

Using the new authenticate() API instead allows to pass
a user-agent environment along with the credentials.
The main use for the UA environment at this point is
to pass the base URL used to login, so that the server
may initialize its "web.base.url" global config parameters

bzr revid: odo@openerp.com-20111213161554-jbtrp94aatcnibne
addons/web/common/openerplib/main.py
addons/web/common/session.py
addons/web/controllers/main.py
addons/web/static/src/js/chrome.js
addons/web/static/src/js/core.js
addons/web_mobile/static/openerp/dynamics/testConnect.js
addons/web_mobile/static/src/js/chrome_mobile.js
addons/web_rpc/static/src/example.html