diff --git a/src/routes/(console)/project-[project]/auth/templates/+page.svelte b/src/routes/(console)/project-[project]/auth/templates/+page.svelte index c99f2aaacb..ec857bd2b7 100644 --- a/src/routes/(console)/project-[project]/auth/templates/+page.svelte +++ b/src/routes/(console)/project-[project]/auth/templates/+page.svelte @@ -44,6 +44,9 @@ import EmailMagicUrlTemplate from './emailMagicUrlTemplate.svelte'; import EmailRecoveryTemplate from './emailRecoveryTemplate.svelte'; import EmailInviteTemplate from './emailInviteTemplate.svelte'; + import Email2FaTemplate from './email2FATemplate.svelte'; + import EmailSessionAlertTemplate from './emailSessionAlertTemplate.svelte'; + // import SmsVerificationTemplate from './smsVerificationTemplate.svelte'; // import SmsLoginTemplate from './smsLoginTemplate.svelte'; // import { baseEmailTemplate, baseSmsTemplate, emailTemplate, smsTemplate } from './store'; @@ -59,7 +62,6 @@ EmailTemplateType, EmailTemplateLocale } from '@appwrite.io/console'; - import Email2FaTemplate from './email2FATemplate.svelte'; const projectId = $page.params.project; @@ -69,6 +71,7 @@ $: emailResetPassword = emailOpen === 'recovery'; $: emailInviteUser = emailOpen === 'invitation'; $: email2FAVerificationOpen = emailOpen === 'mfaChallenge'; + $: emailSessionAlertOpen = emailOpen === 'sessionAlert'; // let smsOpen = 'verification'; // $: smsVerificationOpen = smsOpen === 'verification'; @@ -189,6 +192,16 @@
Send a two-factor authentication email to a user.
Send an email to users when a new session is created.
+