companion commit to state branch on backend
This commit is contained in:
parent
d5dfeac9c0
commit
dcfd3df713
5 changed files with 5 additions and 8 deletions
|
@ -13,7 +13,7 @@ export const useAuthCheck = routeLoader$(({ cookie, redirect: r, query }) => {
|
|||
const set = Boolean(query.get("jwt_set"));
|
||||
|
||||
if (jwt && set) {
|
||||
throw r(302, "/dashboard");
|
||||
throw r(302, "/api/auth/login");
|
||||
}
|
||||
return {};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue