Skip to content

Commit 390e0e0

Browse files
committed
fix: add custom class to the two factor setup and confirmation
1 parent f94d9bc commit 390e0e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

custom/TwoFactorsConfirmation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div v-if="isLoading===false" id="authentication-modal" tabindex="-1" class="af-two-factors-confirmation overflow-y-auto overflow-x-hidden z-50 min-w-[00px] justify-center items-center md:inset-0 h-[calc(100%-1rem)] max-h-full">
1212
<div class="relative p-4 w-full max-w-md max-h-full">
1313
<!-- Modal content -->
14-
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" :class="codeError ? 'rounded-b-none' : ''">
14+
<div class="af-login-popup 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" >
1616
<div v-if="confirmationMode === 'code'" class="af-totp-confirmation">
1717
<div id="mfaCode-label" class="mx-4">{{$t('Please enter your authenticator code')}} </div>

custom/TwoFactorsSetup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<div id="authentication-modal" tabindex="-1" class="af-two-factors-setup overflow-y-auto overflow-x-hidden z-50 min-w-[00px] justify-center items-center md:inset-0 h-[calc(100%-1rem)] max-h-full">
1212
<div class="relative p-4 w-full max-w-md max-h-full">
1313
<!-- Modal content -->
14-
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" >
14+
<div class="af-login-popup relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" >
1515
<div class="p-10 w-full max-w-md max-h-full custom-auth-wrapper" >
1616
<div>{{$t('Scan this QR code with your authenticator app or open by')}} <a class="text-blue-600" :href="totpUri">{{$t('click')}}</a></div>
1717
<div class="flex justify-center m-3" >

0 commit comments

Comments
 (0)