From 532229b1761a8a9966cc913c64651f15371ed905 Mon Sep 17 00:00:00 2001 From: baesunyoung6767 Date: Tue, 2 Jul 2024 23:12:46 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=83=88=20=EB=B9=84=EB=B0=80?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EB=93=B1=EB=A1=9D=20url=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/resources/main/application.yml | 3 +-- .../com/sunjoo/auth/domain/service/SendMailServiceImpl.java | 6 ++++-- src/main/resources/application.yml | 3 +-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build/resources/main/application.yml b/build/resources/main/application.yml index 98c67c5..bf08005 100644 --- a/build/resources/main/application.yml +++ b/build/resources/main/application.yml @@ -48,5 +48,4 @@ eureka: register-with-eureka: true fetch-registry: true service-url: - defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/ - + defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/ \ No newline at end of file diff --git a/src/main/java/com/sunjoo/auth/domain/service/SendMailServiceImpl.java b/src/main/java/com/sunjoo/auth/domain/service/SendMailServiceImpl.java index 2ecae1e..3fb57fc 100644 --- a/src/main/java/com/sunjoo/auth/domain/service/SendMailServiceImpl.java +++ b/src/main/java/com/sunjoo/auth/domain/service/SendMailServiceImpl.java @@ -19,7 +19,8 @@ public class SendMailServiceImpl implements SendMailService { @Value("${spring.mail.username}") private String fromMail; - private String resetPwUrl; +// @Value("${props.reset-password-url}") +// private String resetPwUrl; @Override @@ -27,7 +28,8 @@ public String sendResetPwdEmail(String email) { String uuid = makeUUID(); String title = "비밀번호 재설정입니다."; String cotent = "SUNJOO" + "

" + "아래 링크를 클릭하면 비밀번호 재설정 페이지로 이동합니다." + "
" - + "" + + "" + + "http://localhost:3000/InputNewPwd" + "" + "

해당 링크는 24시간 동안만 유효합니다."; sendMail(email, title, cotent); saveUuidAndEmail(uuid, email); diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 98c67c5..bf08005 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -48,5 +48,4 @@ eureka: register-with-eureka: true fetch-registry: true service-url: - defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/ - + defaultZone: http://sunjoo-server-eureka-eureka-1:8761/eureka/ \ No newline at end of file