move auth pages into auth dir

This commit is contained in:
Huskydog9988
2025-03-22 15:54:43 -04:00
parent c2a1232022
commit 69fb3c3308
7 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export default defineNitroPlugin((nitro) => {
if (userId) break;
return sendRedirect(
event,
`/signin?redirect=${encodeURIComponent(event.path)}`
`/auth/signin?redirect=${encodeURIComponent(event.path)}`
);
}
});
+1 -1
View File
@@ -3,5 +3,5 @@ import sessionHandler from "../internal/session";
export default defineEventHandler(async (h3) => {
await sessionHandler.clearSession(h3);
return sendRedirect(h3, "/signin");
return sendRedirect(h3, "/auth/signin");
});