[ADD] Comment some Login addons javascript until they are remade server side

bzr revid: fme@openerp.com-20140114090819-vfswqeuqg2bg3ybu
This commit is contained in:
Fabien Meghazi 2014-01-14 10:08:19 +01:00
parent bbfae00dde
commit 2c02157b7b
4 changed files with 8 additions and 1 deletions

View File

@ -3,6 +3,7 @@ openerp.auth_oauth = function(instance) {
_lt = instance.web._lt;
var QWeb = instance.web.qweb;
/* TODO: make this a server side controller
instance.web.Login.include({
start: function(parent, params) {
var self = this;
@ -76,5 +77,5 @@ openerp.auth_oauth = function(instance) {
};
},
});
*/
};

View File

@ -1,5 +1,6 @@
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) {
@ -10,5 +11,6 @@ openerp.auth_oauth_signup = function(instance) {
return state;
},
});
*/
};

View File

@ -3,6 +3,7 @@ openerp.auth_openid = function(instance) {
var QWeb = instance.web.qweb;
/* TODO: make this a server side controller
instance.web.Login = instance.web.Login.extend({
start: function() {
var self = this;
@ -149,6 +150,7 @@ instance.web.Login = instance.web.Login.extend({
}
});
*/
};

View File

@ -2,6 +2,7 @@ openerp.auth_signup = function(instance) {
instance.auth_signup = instance.auth_signup || {};
var _t = instance.web._t;
/* TODO: make this a server side controller
instance.web.Login.include({
start: function() {
var self = this;
@ -183,4 +184,5 @@ openerp.auth_signup = function(instance) {
});
},
});
*/
};