From 43ea18c4e87a625d14524e2cbc2e4cb4ca0f9007 Mon Sep 17 00:00:00 2001 From: Benjamin Willig Date: Thu, 11 May 2023 18:18:55 +0200 Subject: [PATCH] [CHG] do not block the UI to prevent a weird behavior with no autologin --- auth_oauth_autologin/static/src/js/web_login.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/auth_oauth_autologin/static/src/js/web_login.js b/auth_oauth_autologin/static/src/js/web_login.js index 72a367194c..836f404694 100644 --- a/auth_oauth_autologin/static/src/js/web_login.js +++ b/auth_oauth_autologin/static/src/js/web_login.js @@ -15,7 +15,6 @@ odoo.define("auth_oauth_autologin.redirect", function(require) { if (url.includes("/web/login")) { url = url.replace("/web/login", "/web"); } - $.blockUI(); this._rpc({ route: "/auth/auto_login_redirect_link", params: { @@ -25,7 +24,6 @@ odoo.define("auth_oauth_autologin.redirect", function(require) { if (result) { window.location = result; } - $.unblockUI(); }); return def; },