From af4b7c4e4ce7171f4f567880ed7646af453a3ee4 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:55:50 +0000 Subject: [PATCH] chore(#55): Improve account deletion messaging --- src/routes/account/+page.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/routes/account/+page.svelte b/src/routes/account/+page.svelte index 7ac7aee..88fc742 100644 --- a/src/routes/account/+page.svelte +++ b/src/routes/account/+page.svelte @@ -31,7 +31,10 @@ loading = true; if (session.user && session.user.email) { alert('Check your email to confirm account deletion.'); + } else { + alert('Please sign in to delete your account.'); } + return async () => { loading = false; };