summaryrefslogtreecommitdiff
path: root/addons/auth_oauth/static/src/js
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2012-11-27 16:35:32 +0100
committerRaphael Collet <rco@openerp.com>2012-11-27 16:35:32 +0100
commit7c61b7142df3c599b02db791cab7f7c56a141b76 (patch)
tree3d83af94641ac7643cbb5d27bc583681e04dd828 /addons/auth_oauth/static/src/js
parent22f30bc8dc037aa1590ec3e497eca2c9677f4fa5 (diff)
[FIX] auth_oauth: add missing parameter in method call...
bzr revid: rco@openerp.com-20121127153532-5jw6sm8ltcmoewrq
Diffstat (limited to 'addons/auth_oauth/static/src/js')
-rw-r--r--addons/auth_oauth/static/src/js/auth_oauth.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_oauth/static/src/js/auth_oauth.js b/addons/auth_oauth/static/src/js/auth_oauth.js
index c3a6aeb15ca..fdf7baf607c 100644
--- a/addons/auth_oauth/static/src/js/auth_oauth.js
+++ b/addons/auth_oauth/static/src/js/auth_oauth.js
@@ -40,7 +40,7 @@ openerp.auth_oauth = function(instance) {
if (instance.session.debug) {
return_url += '?debug';
}
- var state = this._oauth_state();
+ var state = this._oauth_state(provider);
var params = {
response_type: 'token',
client_id: provider.client_id,