@adminforth/two-factors-auth 1.0.21 → 1.0.22
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.
|
@@ -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" >
|
|
15
15
|
<div class="p-8 w-full max-w-md max-h-full" >
|
|
16
|
-
<div class="m-3"
|
|
16
|
+
<div class="m-3">Please enter your authenticator code </div>
|
|
17
17
|
<div class="my-4 flex justify-center items-center">
|
|
18
18
|
<v-otp-input
|
|
19
19
|
ref="code"
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
/>
|
|
30
30
|
</div>
|
|
31
31
|
<!-- <Vue2FACodeInput v-model="code"/> -->
|
|
32
|
-
<
|
|
33
|
-
Cancel
|
|
34
|
-
</button>
|
|
32
|
+
<Button @click="() => {router.push('./login')}" class="w-full">Cancel</Button>
|
|
35
33
|
</div>
|
|
36
34
|
</div>
|
|
37
35
|
</div>
|
|
@@ -52,6 +50,7 @@
|
|
|
52
50
|
import { callAdminForthApi, loadFile } from '@/utils';
|
|
53
51
|
import { useRouter } from 'vue-router';
|
|
54
52
|
import { showErrorTost } from '@/composables/useFrontendApi';
|
|
53
|
+
import { Button } from '@/afcl';
|
|
55
54
|
import Vue2FACodeInput from '@loltech/vue3-2fa-code-input';
|
|
56
55
|
import VOtpInput from "vue3-otp-input";
|
|
57
56
|
|
|
@@ -54,13 +54,14 @@
|
|
|
54
54
|
</div>
|
|
55
55
|
|
|
56
56
|
<!-- <Vue2FACodeInput v-model="code" autofocus /> -->
|
|
57
|
-
<
|
|
57
|
+
<Button @click="()=>{router.push('./login')}"
|
|
58
|
+
class="w-full">Cancel
|
|
59
|
+
</Button>
|
|
58
60
|
</div>
|
|
59
61
|
</div>
|
|
60
62
|
</div>
|
|
61
63
|
</div>
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
+
</div>
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
</template>
|
|
@@ -75,6 +76,7 @@ import { IconEyeSolid, IconEyeSlashSolid } from '@iconify-prerendered/vue-flowbi
|
|
|
75
76
|
import { callAdminForthApi, loadFile } from '@/utils';
|
|
76
77
|
import { useRouter } from 'vue-router';
|
|
77
78
|
import { showErrorTost } from '@/composables/useFrontendApi';
|
|
79
|
+
import { Button } from '@/afcl';
|
|
78
80
|
import Vue2FACodeInput from '@loltech/vue3-2fa-code-input';
|
|
79
81
|
import VOtpInput from "vue3-otp-input";
|
|
80
82
|
|
|
@@ -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" >
|
|
15
15
|
<div class="p-8 w-full max-w-md max-h-full" >
|
|
16
|
-
<div class="m-3"
|
|
16
|
+
<div class="m-3">Please enter your authenticator code </div>
|
|
17
17
|
<div class="my-4 flex justify-center items-center">
|
|
18
18
|
<v-otp-input
|
|
19
19
|
ref="code"
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
/>
|
|
30
30
|
</div>
|
|
31
31
|
<!-- <Vue2FACodeInput v-model="code"/> -->
|
|
32
|
-
<
|
|
33
|
-
Cancel
|
|
34
|
-
</button>
|
|
32
|
+
<Button @click="() => {router.push('./login')}" class="w-full">Cancel</Button>
|
|
35
33
|
</div>
|
|
36
34
|
</div>
|
|
37
35
|
</div>
|
|
@@ -52,6 +50,7 @@
|
|
|
52
50
|
import { callAdminForthApi, loadFile } from '@/utils';
|
|
53
51
|
import { useRouter } from 'vue-router';
|
|
54
52
|
import { showErrorTost } from '@/composables/useFrontendApi';
|
|
53
|
+
import { Button } from '@/afcl';
|
|
55
54
|
import Vue2FACodeInput from '@loltech/vue3-2fa-code-input';
|
|
56
55
|
import VOtpInput from "vue3-otp-input";
|
|
57
56
|
|
|
@@ -54,13 +54,14 @@
|
|
|
54
54
|
</div>
|
|
55
55
|
|
|
56
56
|
<!-- <Vue2FACodeInput v-model="code" autofocus /> -->
|
|
57
|
-
<
|
|
57
|
+
<Button @click="()=>{router.push('./login')}"
|
|
58
|
+
class="w-full">Cancel
|
|
59
|
+
</Button>
|
|
58
60
|
</div>
|
|
59
61
|
</div>
|
|
60
62
|
</div>
|
|
61
63
|
</div>
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
+
</div>
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
</template>
|
|
@@ -75,6 +76,7 @@ import { IconEyeSolid, IconEyeSlashSolid } from '@iconify-prerendered/vue-flowbi
|
|
|
75
76
|
import { callAdminForthApi, loadFile } from '@/utils';
|
|
76
77
|
import { useRouter } from 'vue-router';
|
|
77
78
|
import { showErrorTost } from '@/composables/useFrontendApi';
|
|
79
|
+
import { Button } from '@/afcl';
|
|
78
80
|
import Vue2FACodeInput from '@loltech/vue3-2fa-code-input';
|
|
79
81
|
import VOtpInput from "vue3-otp-input";
|
|
80
82
|
|
package/package.json
CHANGED
package/custom/TwoFactorsOtp.vue
DELETED
|
File without changes
|