@adminforth/two-factors-auth 2.4.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log
CHANGED
|
@@ -15,5 +15,5 @@ custom/package.json
|
|
|
15
15
|
custom/tsconfig.json
|
|
16
16
|
custom/utils.js
|
|
17
17
|
|
|
18
|
-
sent 271,
|
|
19
|
-
total size is 270,
|
|
18
|
+
sent 271,353 bytes received 210 bytes 543,126.00 bytes/sec
|
|
19
|
+
total size is 270,526 speedup is 1.00
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<!-- Modal content -->
|
|
14
14
|
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" :class="codeError ? 'rounded-b-none' : ''">
|
|
15
15
|
<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">
|
|
17
17
|
<div id="mfaCode-label" class="mx-4">{{$t('Please enter your authenticator code')}} </div>
|
|
18
18
|
<div class="mt-4 w-full flex flex-col gap-4 justify-center" ref="otpRoot">
|
|
19
19
|
<v-otp-input
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
</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">
|
|
44
44
|
<IconShieldOutline class="w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
45
45
|
<p class="text-4xl font-semibold mb-4">Passkey</p>
|
|
46
46
|
<p class="mb-2 max-w-[300px]">When you are ready, authenticate using the button below</p>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</div>
|
|
68
68
|
<div
|
|
69
69
|
v-if="codeError"
|
|
70
|
-
class="relative top-full left-0 bg-red-100 text-red-700 text-sm px-2 py-2 rounded-b-lg shadow"
|
|
70
|
+
class="af-two-factors-confirmation-error relative top-full left-0 bg-red-100 text-red-700 text-sm px-2 py-2 rounded-b-lg shadow"
|
|
71
71
|
>
|
|
72
72
|
<p class="pl-6">{{ codeError }} </p>
|
|
73
73
|
</div>
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<!-- Modal content -->
|
|
14
14
|
<div class="relative bg-white rounded-lg shadow dark:bg-gray-700 dark:shadow-black text-gray-500" :class="codeError ? 'rounded-b-none' : ''">
|
|
15
15
|
<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">
|
|
17
17
|
<div id="mfaCode-label" class="mx-4">{{$t('Please enter your authenticator code')}} </div>
|
|
18
18
|
<div class="mt-4 w-full flex flex-col gap-4 justify-center" ref="otpRoot">
|
|
19
19
|
<v-otp-input
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
</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">
|
|
44
44
|
<IconShieldOutline class="w-16 h-16 text-lightPrimary dark:text-darkPrimary"/>
|
|
45
45
|
<p class="text-4xl font-semibold mb-4">Passkey</p>
|
|
46
46
|
<p class="mb-2 max-w-[300px]">When you are ready, authenticate using the button below</p>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</div>
|
|
68
68
|
<div
|
|
69
69
|
v-if="codeError"
|
|
70
|
-
class="relative top-full left-0 bg-red-100 text-red-700 text-sm px-2 py-2 rounded-b-lg shadow"
|
|
70
|
+
class="af-two-factors-confirmation-error relative top-full left-0 bg-red-100 text-red-700 text-sm px-2 py-2 rounded-b-lg shadow"
|
|
71
71
|
>
|
|
72
72
|
<p class="pl-6">{{ codeError }} </p>
|
|
73
73
|
</div>
|