[IMP] init() not need anymore

bzr revid: fme@openerp.com-20130228164417-19xclqx1u9t6krg1
This commit is contained in:
Fabien Meghazi 2013-02-28 17:44:17 +01:00
parent 4491d763c7
commit f3d48483f4
1 changed files with 2 additions and 5 deletions

View File

@ -3,13 +3,10 @@ openerp.auth_signup = function(instance) {
var _t = instance.web._t;
instance.web.Login.include({
init: function() {
this._super.apply(this, arguments);
this.signup_enabled = false;
this.reset_password_enabled = false;
},
start: function() {
var self = this;
this.signup_enabled = false;
this.reset_password_enabled = false;
return this._super().then(function() {
// Switches the login box to the select mode whith mode == [default|signup|reset]