summaryrefslogtreecommitdiff
path: root/addons/auth_anonymous/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/auth_anonymous/static/src')
-rw-r--r--addons/auth_anonymous/static/src/js/auth_anonymous.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_anonymous/static/src/js/auth_anonymous.js b/addons/auth_anonymous/static/src/js/auth_anonymous.js
index 55425e26054..8a78aca479c 100644
--- a/addons/auth_anonymous/static/src/js/auth_anonymous.js
+++ b/addons/auth_anonymous/static/src/js/auth_anonymous.js
@@ -3,7 +3,7 @@ openerp.auth_anonymous = function(instance) {
instance.web.Login.include({
start: function() {
var self = this;
- return $.when(this._super()).pipe(function() {
+ return $.when(this._super()).then(function() {
var dblist = self._db_list || [];
if (!self.session.session_is_valid() && dblist.length === 1) {
self.remember_credentials = false;