@adminforth/two-factors-auth 1.8.7 → 1.8.9
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 +2 -2
- package/custom/TwoFAModal.vue +3 -1
- package/dist/custom/TwoFAModal.vue +3 -1
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -11,5 +11,5 @@ custom/package-lock.json
|
|
|
11
11
|
custom/package.json
|
|
12
12
|
custom/tsconfig.json
|
|
13
13
|
|
|
14
|
-
sent 31,
|
|
15
|
-
total size is
|
|
14
|
+
sent 31,500 bytes received 134 bytes 63,268.00 bytes/sec
|
|
15
|
+
total size is 31,002 speedup is 0.98
|
package/custom/TwoFAModal.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 top-0 bottom-0 left-0 right-0"
|
|
3
|
-
v-
|
|
3
|
+
v-show ="modelShow">
|
|
4
4
|
<div class="relative bg-white dark:bg-gray-700 rounded-lg shadow p-6 w-full max-w-md">
|
|
5
5
|
<div id="mfaCode-label" class="mb-4 text-gray-700 dark:text-gray-100 text-center">
|
|
6
6
|
{{ $t('Please enter your authenticator code') }}
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
function onCancel() {
|
|
125
125
|
modelShow.value = false;
|
|
126
126
|
bindValue.value = '';
|
|
127
|
+
code.value?.clearInput();
|
|
127
128
|
emit('rejected', new Error('cancelled'));
|
|
128
129
|
emit('closed');
|
|
129
130
|
}
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
htmlRef.style.overflow = '';
|
|
145
146
|
}
|
|
146
147
|
bindValue.value = '';
|
|
148
|
+
code.value?.clearInput();
|
|
147
149
|
}
|
|
148
150
|
});
|
|
149
151
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="af-two-factors-modal fixed inset-0 z-[9999] flex items-center justify-center bg-black/50 top-0 bottom-0 left-0 right-0"
|
|
3
|
-
v-
|
|
3
|
+
v-show ="modelShow">
|
|
4
4
|
<div class="relative bg-white dark:bg-gray-700 rounded-lg shadow p-6 w-full max-w-md">
|
|
5
5
|
<div id="mfaCode-label" class="mb-4 text-gray-700 dark:text-gray-100 text-center">
|
|
6
6
|
{{ $t('Please enter your authenticator code') }}
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
function onCancel() {
|
|
125
125
|
modelShow.value = false;
|
|
126
126
|
bindValue.value = '';
|
|
127
|
+
code.value?.clearInput();
|
|
127
128
|
emit('rejected', new Error('cancelled'));
|
|
128
129
|
emit('closed');
|
|
129
130
|
}
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
htmlRef.style.overflow = '';
|
|
145
146
|
}
|
|
146
147
|
bindValue.value = '';
|
|
148
|
+
code.value?.clearInput();
|
|
147
149
|
}
|
|
148
150
|
});
|
|
149
151
|
|