Skip to content

Commit

Permalink
Merge pull request #1104 from appwrite/feat-mfa-email-verified
Browse files Browse the repository at this point in the history
feat(auth): add verified pill to mfa methods
  • Loading branch information
TorstenDittmann authored May 24, 2024
2 parents 5dbf790 + 9624c51 commit 67359a9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/routes/console/account/updateMfa.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import MfaRecoveryCodes from './mfaRecoveryCodes.svelte';
import type { Models } from '@appwrite.io/console';
import MfaRegenerateCodes from './mfaRegenerateCodes.svelte';
import { Pill } from '$lib/elements';
let showSetup: boolean = false;
let showDelete: boolean = false;
Expand Down Expand Up @@ -144,8 +145,11 @@
<div class="avatar is-size-x-small">
<span class="icon-mail" aria-hidden="true" />
</div>
<div class="u-flex-vertical u-gap-4 body-text-2">
<span class="u-bold">Email verification</span>
<div class="u-flex-vertical u-gap-4">
<div class="u-flex u-gap-4 u-cross-center">
<span class="body-text-2 u-bold">Email</span>
<Pill>verified</Pill>
</div>
<span>One-time codes will be sent to: {$user.email}</span>
</div>
</div>
Expand All @@ -160,8 +164,11 @@
<div class="avatar is-size-x-small">
<span class="icon-send" aria-hidden="true" />
</div>
<div class="u-flex-vertical u-gap-4 body-text-2">
<span class="u-bold">SMS verification</span>
<div class="u-flex-vertical u-gap-4">
<div class="u-flex u-gap-4 u-cross-center">
<span class="body-text-2 u-bold">SMS</span>
<Pill>verified</Pill>
</div>
<span>One-time codes will be sent to: {$user.phone}</span>
</div>
</div>
Expand Down

0 comments on commit 67359a9

Please sign in to comment.