@adminforth/two-factors-auth 2.4.0 → 2.5.0

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,255 bytes received 210 bytes 542,930.00 bytes/sec
19
- total size is 270,439 speedup is 1.00
18
+ sent 271,319 bytes received 210 bytes 543,058.00 bytes/sec
19
+ total size is 270,492 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>
@@ -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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/two-factors-auth",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "description": "AdminForth plugin for two factors authentication",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",