odoo/addons/auth_oauth_signup/static/src/js/auth_oauth_signup.js

17 lines
458 B
JavaScript

openerp.auth_oauth_signup = function(instance) {
/* TODO: make this a server side controller
// override Login._oauth_state to add the signup token in the state
instance.web.Login.include({
_oauth_state: function(provider) {
var state = this._super.apply(this, arguments);
if (this.params.token) {
state.t = this.params.token;
}
return state;
},
});
*/
};