diff --git a/theme-authentic2/templates/authentic2/login_password_form.html b/theme-authentic2/templates/authentic2/login_password_form.html index f5af2b3..59d1a37 100644 --- a/theme-authentic2/templates/authentic2/login_password_form.html +++ b/theme-authentic2/templates/authentic2/login_password_form.html @@ -81,10 +81,10 @@ if (parsed_referrer.hostname.includes("lesechos")) { document.location = parsed_referrer.origin; } else { - document.location = "http://www.lesechos-solutions.fr"; + document.location.href = "http://www.lesechos-solutions.fr"; } } catch(err) { - document.location = "http://www.lesechos-solutions.fr"; + document.location.href = "http://www.lesechos-solutions.fr"; } }