new changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { useAuth } from "~/composables/api/auth/useAuth";
|
import { useAuth } from "~/composables/api/auth/useAuth";
|
||||||
|
|
||||||
export default defineNuxtRouteMiddleware(() => {
|
export default defineNuxtRouteMiddleware(() => {
|
||||||
const { token, logout } = useAuth();
|
const { token } = useAuth();
|
||||||
|
|
||||||
if (!!token.value) {
|
if (!!token.value) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user