From 885f7c4280309b0af8ee4fb499ff68f24895489e Mon Sep 17 00:00:00 2001 From: Binyamin Yawitz <316103+byawitz@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:34:40 -0400 Subject: [PATCH] feat: Adding OTP session email customization. --- .../project-[project]/auth/templates/+page.svelte | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/routes/console/project-[project]/auth/templates/+page.svelte b/src/routes/console/project-[project]/auth/templates/+page.svelte index cc4d83c4d..d614b690e 100644 --- a/src/routes/console/project-[project]/auth/templates/+page.svelte +++ b/src/routes/console/project-[project]/auth/templates/+page.svelte @@ -66,6 +66,7 @@ let emailOpen = 'verification'; $: emailVerificationOpen = emailOpen === 'verification'; $: emailMagicSessionOpen = emailOpen === 'magicSession'; + $: emailOtpSessionOpen = emailOpen === 'otpSession'; $: emailResetPassword = emailOpen === 'recovery'; $: emailInviteUser = emailOpen === 'invitation'; $: email2FAVerificationOpen = emailOpen === 'mfaChallenge'; @@ -159,6 +160,16 @@

Send an email to users that sign in with a magic URL.

+ { + e.preventDefault(); + openEmail('otpSession'); + }}> + OTP Session +

Send an email to users that sign in with a email OTP.

+ +
{