Skip to content

Commit

Permalink
[CHG] do not block the UI to prevent a weird behavior with no autologin
Browse files Browse the repository at this point in the history
  • Loading branch information
benwillig committed May 11, 2023
1 parent 58a1997 commit 43ea18c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions auth_oauth_autologin/static/src/js/web_login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -25,7 +24,6 @@ odoo.define("auth_oauth_autologin.redirect", function(require) {
if (result) {
window.location = result;
}
$.unblockUI();
});
return def;
},
Expand Down

0 comments on commit 43ea18c

Please sign in to comment.