diff --git a/theme-authentic2/templates/authentic2/login_password_form.html b/theme-authentic2/templates/authentic2/login_password_form.html index 59d1a37..95062a3 100644 --- a/theme-authentic2/templates/authentic2/login_password_form.html +++ b/theme-authentic2/templates/authentic2/login_password_form.html @@ -79,11 +79,14 @@ try { var parsed_referrer = new URL(document.referrer); if (parsed_referrer.hostname.includes("lesechos")) { + alert("FUUUUUUUUUUUUUUU"); document.location = parsed_referrer.origin; } else { + alert("MANGOSTA"); document.location.href = "http://www.lesechos-solutions.fr"; } } catch(err) { + alert("LANGOSTA"); document.location.href = "http://www.lesechos-solutions.fr"; } }