penambahan route protection
This commit is contained in:
@@ -258,6 +258,7 @@
|
||||
console.error("Logout failed:", error.message);
|
||||
} else {
|
||||
localStorage.removeItem("user");
|
||||
|
||||
goto("/login");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user