From fdfbbdc41411fe349a55f02c759844971b84a5eb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:46:53 +0000 Subject: [PATCH 1/2] Initial plan From 9e93ca05d39ede82b52434a6cae4d640ed31d329 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 16:59:55 +0000 Subject: [PATCH 2/2] Add update email address option to verify email modal Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com> --- .../account/sendVerificationEmailModal.svelte | 161 +++++++++++++----- src/lib/elements/forms/inputEmail.svelte | 3 +- 2 files changed, 121 insertions(+), 43 deletions(-) diff --git a/src/lib/components/account/sendVerificationEmailModal.svelte b/src/lib/components/account/sendVerificationEmailModal.svelte index 1385570f8e..7fb576bbf4 100644 --- a/src/lib/components/account/sendVerificationEmailModal.svelte +++ b/src/lib/components/account/sendVerificationEmailModal.svelte @@ -1,7 +1,8 @@
- - - - - To continue using Appwrite Cloud, please verify your email address. An email - will be sent to {email || get(user)?.email} - - - logout()}>Switch account - - {#if emailSent && resendTimer > 0} -
- + + + + To continue using Appwrite Cloud, please verify your email address. An email + will be sent to - Didn't get the email? Try again in {resendTimer}s - -
- {/if} -
-
- - - - -
+ style="display: inline;">{email || get(user)?.email} + + + + Wrong email? { + showUpdateEmail = true; + error = null; + }}>Update email address or logout()}>Switch account + + + {#if emailSent && resendTimer > 0} +
+ + Didn't get the email? Try again in {resendTimer}s + +
+ {/if} + + + + + + + + {:else} + + + + + + + + + + {/if}