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 CHANGED
@@ -109,7 +109,6 @@ import { authClient } from '~/lib/auth-client';
109
109
  // Verify TOTP code
110
110
  const result = await authClient.twoFactor.verifyTotp({
111
111
  code: '123456',
112
- trustDevice: true,
113
112
  });
114
113
 
115
114
  // Verify backup code
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nuxt-base",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Starter to generate a configured environment with VueJS, Nuxt, Tailwind, Eslint, Unit Tests, Playwright etc.",
5
5
  "license": "MIT",
6
6
  "author": "lenne.Tech GmbH",