diff --git a/site/public/order/success/index.html b/site/public/order/success/index.html index d11417d..28a50dc 100644 --- a/site/public/order/success/index.html +++ b/site/public/order/success/index.html @@ -87,8 +87,8 @@ Send reset link fetch(API + "/api/v1/auth/portal-status?email=" + encodeURIComponent(email)) .then(function(r) { return r.json(); }) .then(function(data) { - if (data.has_account && data.returning) { - // Returning customer — hide password form, show welcome back + if (data.has_account) { + // Existing account — hide password form, show portal link var form = document.getElementById("portal-password-form"); var already = document.getElementById("portal-already-set"); if (form) form.classList.add("hidden"); @@ -97,8 +97,10 @@ Send reset link already.innerHTML = '