데모용 임시 회원가입 구현

This commit is contained in:
static
2025-05-28 18:00:17 +09:00
parent 36006a9b72
commit 451dd3c129
8 changed files with 134 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ import { authenticate, AuthenticationError } from "$lib/server/modules/auth";
export const authenticateMiddleware: Handle = async ({ event, resolve }) => {
const { pathname, search } = event.url;
if (pathname === "/api/auth/login") {
if (pathname === "/api/auth/login" || pathname === "/api/auth/register") {
return await resolve(event);
}