Revert "데모용 임시 회원가입 구현"

This reverts commit eb913366646f43fda669f0550788e0888c44b95a.
This commit is contained in:
static
2025-05-31 21:36:27 +09:00
parent 451dd3c129
commit 2a5200fe9d
8 changed files with 5 additions and 134 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" || pathname === "/api/auth/register") {
if (pathname === "/api/auth/login") {
return await resolve(event);
}