Remove unused features from starter kit, #35

This commit is contained in:
2025-11-14 12:40:32 +01:00
parent 38cf214051
commit 81f0c1ce56
29 changed files with 56 additions and 646 deletions
+1 -9
View File
@@ -8,7 +8,6 @@ import { useTwoFactorAuth } from '@/composables/useTwoFactorAuth';
import AppLayout from '@/layouts/AppLayout.vue';
import SettingsLayout from '@/layouts/settings/Layout.vue';
import { disable, enable, show } from '@/routes/two-factor';
import { BreadcrumbItem } from '@/types';
import { Form, Head } from '@inertiajs/vue3';
import { ShieldBan, ShieldCheck } from 'lucide-vue-next';
import { onUnmounted, ref } from 'vue';
@@ -23,13 +22,6 @@ withDefaults(defineProps<Props>(), {
twoFactorEnabled: false,
});
const breadcrumbs: BreadcrumbItem[] = [
{
title: 'Two-Factor Authentication',
href: show.url(),
},
];
const { hasSetupData, clearTwoFactorAuthData } = useTwoFactorAuth();
const showSetupModal = ref<boolean>(false);
@@ -39,7 +31,7 @@ onUnmounted(() => {
</script>
<template>
<AppLayout :breadcrumbs="breadcrumbs">
<AppLayout>
<Head title="Two-Factor Authentication" />
<SettingsLayout>
<div class="space-y-6">