diff --git a/src/routes/console/project-[project]/auth/templates/+page.svelte b/src/routes/console/project-[project]/auth/templates/+page.svelte
index 6e4003649..80eeb0bf2 100644
--- a/src/routes/console/project-[project]/auth/templates/+page.svelte
+++ b/src/routes/console/project-[project]/auth/templates/+page.svelte
@@ -31,6 +31,11 @@
invitation: EmailTemplate;
}
| any = {};
+ let emailVerificationOpen = true;
+ let emailMagicSessionOpen = false;
+ let emailOpen = 'verification';
+ $: emailVerificationOpen = emailOpen === 'verification';
+ $: emailMagicSessionOpen = emailOpen === 'magicSession';
onMount(() => {
loadEmailTemplate('verification', 'en-us');
@@ -118,7 +123,11 @@
-
+ {
+ emailOpen = 'verification';
+ }}>
Verification
Send a verification email to users that sign in with their email and
@@ -130,7 +139,11 @@
localeCodes={data.localeCodes}
template={emailTemplates?.verification} />
-
+ {
+ emailOpen = 'magicSession';
+ }}>
Magic URL