[FIX] problem with login form when using --no-database-list

lp bug: https://launchpad.net/bugs/1172488 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130527141845-1xjmmp9tdukv6r2j
This commit is contained in:
niv-openerp
2013-05-27 16:18:45 +02:00
parent 7d8acf168e
commit cb21eb3506
@@ -7,7 +7,7 @@ openerp.auth_signup = function(instance) {
var self = this;
this.signup_enabled = false;
this.reset_password_enabled = false;
return this._super().then(function() {
return this._super().always(function() {
// Switches the login box to the select mode whith mode == [default|signup|reset]
self.on('change:login_mode', self, function() {