Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public EmailTemplate createInvitationTemplate(String receiver, String receiverNa
String templateName = "invitation";
String subject = "[TaskFlow 초대] 회원가입을 환영합니다.";
context.setVariable("userNickname", userNickname);
context.setVariable("invitationLink", "https://localhost:5173/login"); //TODO:비밀번호 설정 링크로 변경 예정
context.setVariable("invitationLink", "http://localhost:5173/login");
context.setVariable("initialPassword", initialPassword);
context.setVariable("receiverName", receiverName);
String body = templateEngine.process(templateName, context);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/invitation.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<p>안녕하세요, <strong th:text="${receiverName}"></strong>님!</p>
<p>TaskFlow 회원가입 초대 메일입니다.</p>
<ul>
<li>아이디: <a href="https://example.com/register" target="_blank" th:href="${userNickname}">회원가입 링크</a></li>
<li>아이디: <strong th:text="${userNickname}"></strong></li>
<li>초기 비밀번호: <strong th:text="${initialPassword}"></strong></li>
</ul>
<div class="cta-button">
Expand Down