dev temp set urk
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-03-07 01:54:33 +07:00
parent 8b7f580b0e
commit 60857d4077
3 changed files with 8 additions and 10 deletions
@@ -73,7 +73,8 @@ public class EmailService {
throws MessagingException, IOException {
String htmlContent = loadAndProcessTemplate(Map.of("username", user.getFullName(),
"current_tokens", String.valueOf(currentTokens), "missing_tokens",
String.valueOf(missingTokens), "link_to_token_board", baseUrl + "/pages/payment"),
// String.valueOf(missingTokens), "link_to_token_board", baseUrl + "/pages/payment"),
String.valueOf(missingTokens), "link_to_token_board", "https://workspace.not-copy.com" + "/pages/payment"),
"templates/token-not-found.html");
sendEmail("noreply@no-copy.ru", user.getEmail(), standartAdressFrom, htmlContent);
@@ -148,7 +149,8 @@ public class EmailService {
String htmlContent = loadAndProcessTemplate(user.getFullName(), code,
"templates/reset-password.html");
//TODO frontPort убрать после настройки редиректа nginx
String resetLink = escapeHtml(baseUrl + "/reset-password?email=" + user.getEmail());
// String resetLink = escapeHtml(baseUrl + "/reset-password?email=" + user.getEmail());
String resetLink = escapeHtml("https://workspace.not-copy.com" + "/reset-password?email=" + user.getEmail());
htmlContent = htmlContent.replace("{{resetLink}}", resetLink);
helper.setText(htmlContent, true);