feat(frontend): finished login form with validation
This commit is contained in:
@@ -6,7 +6,7 @@ export const Route = createFileRoute("/_auth")({
|
||||
const auth = localStorage.getItem("auth_token");
|
||||
if (!auth) {
|
||||
throw redirect({
|
||||
to: "/",
|
||||
to: "/login",
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user