Skip to content

Commit

Permalink
비밀번호 찾기 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
wpdbsx committed Dec 23, 2023
1 parent 74d11b2 commit f9b2934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/auth/LostInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand All @@ -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) {
//결과
Expand Down

0 comments on commit f9b2934

Please sign in to comment.