fix : add fulllogout in access denied
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user