이메일 관련 내용 제거

This commit is contained in:
koreacomp5
2025-10-09 15:05:33 +09:00
parent 067468ab6f
commit 66538d0d64
3 changed files with 2 additions and 3 deletions

View File

@@ -12,7 +12,6 @@ export async function POST(req: Request) {
await prisma.passwordResetToken.create({
data: { userId: user.userId, token, expiresAt },
});
// 실제로는 이메일 발송 필요. 여기선 토큰을 반환(데모)
return NextResponse.json({ ok: true, token });
}