mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 02:53:50 +00:00
chore(#55): Improve account deletion messaging
This commit is contained in:
@@ -31,7 +31,10 @@
|
|||||||
loading = true;
|
loading = true;
|
||||||
if (session.user && session.user.email) {
|
if (session.user && session.user.email) {
|
||||||
alert('Check your email to confirm account deletion.');
|
alert('Check your email to confirm account deletion.');
|
||||||
|
} else {
|
||||||
|
alert('Please sign in to delete your account.');
|
||||||
}
|
}
|
||||||
|
|
||||||
return async () => {
|
return async () => {
|
||||||
loading = false;
|
loading = false;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user