Skip to content

Commit 014454a

Browse files
committed
feat: add custom classes for the 2fa confirmation
1 parent 3e67025 commit 014454a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom/TwoFactorsConfirmation.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<!-- Modal content -->
1414
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" :class="codeError ? 'rounded-b-none' : ''">
1515
<div class="p-8 w-full max-w-md max-h-full custom-auth-wrapper" >
16-
<div v-if="confirmationMode === 'code'">
16+
<div v-if="confirmationMode === 'code'" class="af-totp-confirmation">
1717
<div id="mfaCode-label" class="mx-4">{{$t('Please enter your authenticator code')}} </div>
1818
<div class="mt-4 w-full flex flex-col gap-4 justify-center" ref="otpRoot">
1919
<v-otp-input
@@ -40,7 +40,7 @@
4040
</div>
4141
</div>
4242
</div>
43-
<div v-else class="flex flex-col items-center justify-center py-4 gap-6">
43+
<div v-else class="af-passkey-confirmation flex flex-col items-center justify-center py-4 gap-6">
4444
<IconShieldOutline class="w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
4545
<p class="text-4xl font-semibold mb-4">Passkey</p>
4646
<p class="mb-2 max-w-[300px]">When you are ready, authenticate using the button below</p>

0 commit comments

Comments
 (0)