companion commit to state branch on backend

This commit is contained in:
grngxd 2025-07-30 11:18:02 +01:00
parent d5dfeac9c0
commit dcfd3df713
5 changed files with 5 additions and 8 deletions

View file

@ -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 {};
});