mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1274 from appwrite/feat-adding-otp-session-template
feat: Adding OTP session email customization.
This commit is contained in:
1 file changed
+11
@@ -68,6 +68,7 @@
|
||||
let emailOpen = 'verification';
|
||||
$: emailVerificationOpen = emailOpen === 'verification';
|
||||
$: emailMagicSessionOpen = emailOpen === 'magicSession';
|
||||
$: emailOtpSessionOpen = emailOpen === 'otpSession';
|
||||
$: emailResetPassword = emailOpen === 'recovery';
|
||||
$: emailInviteUser = emailOpen === 'invitation';
|
||||
$: email2FAVerificationOpen = emailOpen === 'mfaChallenge';
|
||||
@@ -162,6 +163,16 @@
|
||||
<p class="text">Send an email to users that sign in with a magic URL.</p>
|
||||
<EmailMagicUrlTemplate />
|
||||
</CollapsibleItem>
|
||||
<CollapsibleItem
|
||||
bind:open={emailOtpSessionOpen}
|
||||
on:click={(e) => {
|
||||
e.preventDefault();
|
||||
openEmail('otpSession');
|
||||
}}>
|
||||
<svelte:fragment slot="title">OTP Session</svelte:fragment>
|
||||
<p class="text">Send an email to users that sign in with a email OTP.</p>
|
||||
<EmailMagicUrlTemplate />
|
||||
</CollapsibleItem>
|
||||
<CollapsibleItem
|
||||
bind:open={emailResetPassword}
|
||||
on:click={(e) => {
|
||||
|
||||
Reference in new issue
Block a user