From 7c61b7142df3c599b02db791cab7f7c56a141b76 Mon Sep 17 00:00:00 2001 From: Raphael Collet Date: Tue, 27 Nov 2012 16:35:32 +0100 Subject: [PATCH] [FIX] auth_oauth: add missing parameter in method call... bzr revid: rco@openerp.com-20121127153532-5jw6sm8ltcmoewrq --- addons/auth_oauth/static/src/js/auth_oauth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,