mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-18 07:58:57 +00:00
데모용 임시 회원가입 구현
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user