create-nuxt-base 2.1.2 → 2.1.3
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/AUTH.md +0 -1
- package/CHANGELOG.md +7 -0
- package/nuxt-base-template/app/pages/auth/2fa.vue +0 -4
- package/package.json +1 -1
package/AUTH.md
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.1.3](https://github.com/lenneTech/nuxt-base-starter/compare/v2.1.2...v2.1.3) (2026-01-26)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* remove trust device feature from 2FA authentication flow ([c631c83](https://github.com/lenneTech/nuxt-base-starter/commit/c631c839a1ae8ee902a7ab3678e034d99840972a))
|
|
11
|
+
|
|
5
12
|
### [2.1.2](https://github.com/lenneTech/nuxt-base-starter/compare/v2.1.1...v2.1.2) (2026-01-24)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -26,7 +26,6 @@ definePageMeta({
|
|
|
26
26
|
// ============================================================================
|
|
27
27
|
const loading = ref<boolean>(false);
|
|
28
28
|
const useBackupCode = ref<boolean>(false);
|
|
29
|
-
const trustDevice = ref<boolean>(false);
|
|
30
29
|
|
|
31
30
|
// Form state for UForm
|
|
32
31
|
const formState = reactive({ code: '' });
|
|
@@ -62,7 +61,6 @@ async function onSubmit(payload: FormSubmitEvent<Schema>): Promise<void> {
|
|
|
62
61
|
} else {
|
|
63
62
|
result = await authClient.twoFactor.verifyTotp({
|
|
64
63
|
code: payload.data.code,
|
|
65
|
-
trustDevice: trustDevice.value,
|
|
66
64
|
});
|
|
67
65
|
|
|
68
66
|
if (result.error) {
|
|
@@ -149,8 +147,6 @@ function toggleBackupCode(): void {
|
|
|
149
147
|
/>
|
|
150
148
|
</UFormField>
|
|
151
149
|
|
|
152
|
-
<UCheckbox v-if="!useBackupCode" v-model="trustDevice" label="Diesem Gerät vertrauen" />
|
|
153
|
-
|
|
154
150
|
<UButton type="submit" block :loading="loading"> Verifizieren </UButton>
|
|
155
151
|
</UForm>
|
|
156
152
|
|
package/package.json
CHANGED