Neuaufbau des Repositories

This commit is contained in:
2026-04-13 14:01:19 +02:00
parent 4a7638d5e9
commit 35b5f39843
14 changed files with 494 additions and 13 deletions
@@ -12,7 +12,6 @@ import {
CardTitle,
} from '@/components/ui/card';
import { useTwoFactorAuth } from '@/composables/useTwoFactorAuth';
import { regenerateRecoveryCodes } from '@/routes/two-factor';
const { recoveryCodesList, fetchRecoveryCodes, errors } = useTwoFactorAuth();
const isRecoveryCodesVisible = ref<boolean>(false);
@@ -64,7 +63,7 @@ onMounted(async () => {
<Form
v-if="isRecoveryCodesVisible && recoveryCodesList.length"
v-bind="regenerateRecoveryCodes.form()"
action="/user/two-factor-recovery-codes"
method="post"
:options="{ preserveScroll: true }"
@success="fetchRecoveryCodes"