fix : add fulllogout in access denied

This commit is contained in:
2026-05-21 08:41:55 +07:00
parent eee4811283
commit ff71cd6de1
+2 -1
View File
@@ -13,7 +13,7 @@ definePageMeta({
const router = useRouter();
const route = useRoute();
const { user, logout } = useAuth();
const { user, logout, fullLogout } = useAuth();
const requestedPath = ref('');
@@ -74,6 +74,7 @@ const goToDashboard = async () => {
</p>
<v-btn :loading="loading" flat variant="outlined" :prepend-icon="'mdi-arrow-left'" color="white" class="mb-4" @click="goToDashboard">Go To Back Page</v-btn>
<v-btn flat variant="outlined" :prepend-icon="'mdi-logout'" color="white" class="mb-4 ml-4" @click="fullLogout">Logout</v-btn>
</div>
</div>
</template>