[FIX] auth_oauth: add missing parameter in method call...

bzr revid: rco@openerp.com-20121127153532-5jw6sm8ltcmoewrq
This commit is contained in:
Raphael Collet 2012-11-27 16:35:32 +01:00
parent 22f30bc8dc
commit 7c61b7142d
1 changed files with 1 additions and 1 deletions

View File

@ -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,