diff options
| author | vta vta@openerp.com <> | 2012-08-14 12:13:37 +0200 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-08-14 12:13:37 +0200 |
| commit | 6b2738dc13c03668de82ab7d16d2d9cfd4928121 (patch) | |
| tree | 6f88666f52b6d2d5703c7aed24d2af8688ffc411 /addons/auth_oauth/static/src | |
| parent | acd84e72c6c3321ed6f514d837d63315d3469a5a (diff) | |
[FIX] added password to auth process
bzr revid: vta@openerp.com-20120814101337-b3ucei2tdyyinsbd
Diffstat (limited to 'addons/auth_oauth/static/src')
| -rw-r--r-- | addons/auth_oauth/static/src/js/auth_oauth.js | 3 |
1 files changed, 2 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 a6f185d75f3..a67adca6ebc 100644 --- a/addons/auth_oauth/static/src/js/auth_oauth.js +++ b/addons/auth_oauth/static/src/js/auth_oauth.js @@ -31,8 +31,9 @@ openerp.auth_oauth = function(instance) { start: function() { this._super.apply(this, arguments); var params = $.deparam(window.location.hash.substring(1)); + // alert(JSON.stringify(params)); if (params.hasOwnProperty('access_token')) { - var url = "/auth_oauth/signin" + '?' + $.param(params);//alert(JSON.stringify(params)); + var url = "/auth_oauth/signin" + '?' + $.param(params); window.location = url; } }, |
