Skip to content

Commit 64201c7

Browse files
fix[backend](email): fixed added the right tite for account creation email
1 parent 6b21e31 commit 64201c7

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

backend/src/main/java/com/park/utmstack/service/MailService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void sendLowSpaceEmail(List<User> users, ElasticCluster cluster) {
241241
@Async
242242
public void sendCreationEmail(User user) {
243243
log.debug("Sending creation email to '{}'", user.getEmail());
244-
sendEmailFromTemplate(user, "mail/creationEmail", "email.activation.title");
244+
sendEmailFromTemplate(user, "mail/creationEmail", "email.creation.title");
245245
}
246246

247247
@Async

backend/src/main/resources/i18n/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ email.activation.text2=Regards,
1212
email.signature=UtmStack Team.
1313

1414
# Creation email
15+
email.creation.title=UtmStack account created
1516
email.creation.text1=Your UtmStack account has been created, please click on the URL below to set your password:
1617

1718
# Reset email

backend/src/main/resources/templates/mail/creationEmail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html xmlns:th="http://www.thymeleaf.org">
33
<head>
4-
<title th:text="#{email.activation.title}">JHipster creation</title>
4+
<title th:text="#{email.creation.title}">UtmStack account created</title>
55
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
66
<link rel="shortcut icon" th:href="@{|${baseUrl}/favicon.ico|}" />
77
</head>

0 commit comments

Comments
 (0)