이메일 관련 내용 제거
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user