From f9b2934284fb01643f5560e7a52aa9acaf0544a5 Mon Sep 17 00:00:00 2001 From: wpdbsx Date: Sat, 23 Dec 2023 11:59:01 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=B0=BE=EA=B8=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/auth/LostInfo.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/auth/LostInfo.tsx b/src/pages/auth/LostInfo.tsx index af407fe..6e17b9d 100644 --- a/src/pages/auth/LostInfo.tsx +++ b/src/pages/auth/LostInfo.tsx @@ -5,6 +5,7 @@ import { useNavigate } from "react-router-dom"; import useDefaultSets from "store/modules/Defaults"; import Header from "components/auth/Header"; import Footer from "components/Footer"; +import fetch from "utils/fetch"; const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; const LostInfo = () => { @@ -22,7 +23,7 @@ const LostInfo = () => { const submitEmail = (e: any): void => { e.preventDefault(); if (emailVerify === true && emailFormChk === true) { - // fetch('/api/resetUserPassword', email) + fetch.post('/api/password/password-reset', { email }) const rst = 1; if (rst === 1) { //결과