diff --git a/src/api/member.js b/src/api/member.js
index e66eb0b..e4d0630 100644
--- a/src/api/member.js
+++ b/src/api/member.js
@@ -22,4 +22,8 @@ function registMember(member) {
localAxios.post('/member/join', JSON.stringify(member));
}
-export { userConfirm, findByToken, tokenRegeneration, logout, registMember };
+function resetPassword(email) {
+ return localAxios.put(`/member/findPw/${email}`);
+}
+
+export { userConfirm, findByToken, tokenRegeneration, logout, registMember, resetPassword };
diff --git a/src/components/users/UserLogin.vue b/src/components/users/UserLogin.vue
index 2efb4d2..c6e7011 100644
--- a/src/components/users/UserLogin.vue
+++ b/src/components/users/UserLogin.vue
@@ -39,7 +39,7 @@ async function handleSubmit() {
-
+
비밀번호를 잊으셨나요?
diff --git a/src/components/users/UserResetPassword.vue b/src/components/users/UserResetPassword.vue
new file mode 100644
index 0000000..7574224
--- /dev/null
+++ b/src/components/users/UserResetPassword.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
비밀번호 찾기
+
비밀번호 재설정 메일을 발송했어요. 메일을 확인해주세요.
+
+ 로그인
+
+
+
+
+
diff --git a/src/router/index.js b/src/router/index.js
index 45f8008..efc0f8d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -46,6 +46,11 @@ const router = createRouter({
beforeEnter: onlyAuthUser,
component: () => import('@/components/users/UserMyPage.vue'),
},
+ {
+ path: 'reset',
+ name: 'user-reset',
+ component: () => import('@/components/users/UserResetPassword.vue'),
+ },
// {
// path: "modify/:userid",
// name: "user-modify",