aurora.
Return home
Welcome back
,
.
{ const data = await response.json().catch(() => ({})); if (response.ok) { const pets = (data.pet_names && data.pet_names.length) ? data.pet_names : ['love']; pet = pets[Math.floor(Math.random() * pets.length)]; welcomed = true; setTimeout(() => { window.location = data.redirect || '/'; }, 1000); } else { errorMessage = data.errors?.email?.[0] || data.message || 'Something went wrong.'; submitting = false; } }) .catch(() => { submitting = false; $event.target.submit(); }); ">
Email address
Password