move auth pages into auth dir

This commit is contained in:
Huskydog9988
2025-03-22 15:54:43 -04:00
parent 6918e78cf9
commit 6ed7e76b17
7 changed files with 10 additions and 7 deletions

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)}`
);
}
});

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");
});