8000 feat: Include subject in email template attributes by knoobie · Pull Request #49418 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
Merged
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 @@ -257,6 +257,7 @@ protected EmailTemplate processTemplate(String subjectKey, List<Object> subjectA
}

String subject = new MessageFormat(messages.getProperty(subjectKey, subjectKey), locale).format(subjectAttributes.toArray());
attributes.put("subject", subject);
String textTemplate = String.format("text/%s", template);
String textBody;
try {
Expand Down
Loading
0