mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 16:56:56 +00:00
refactor/update email subject for user signup confirmation
This commit is contained in:
parent
14f48713d3
commit
1585aaffd4
@ -653,11 +653,12 @@ import net.liftweb.util.Helpers._
|
||||
val email: String = user.getEmail
|
||||
val textContent = Some(s"Welcome! Please validate your account by clicking the following link: $resetLink")
|
||||
val htmlContent = Some(s"<p>Welcome! Please validate your account by clicking the following link:</p><p><a href='$resetLink'>$resetLink</a></p>")
|
||||
val subjectContent = "Sign up confirmation"
|
||||
val emailContent = EmailContent(
|
||||
from = emailFrom,
|
||||
to = List(user.getEmail),
|
||||
bcc = bccEmail.toList,
|
||||
subject = signupMailSubject,
|
||||
subject = subjectContent,
|
||||
textContent = textContent,
|
||||
htmlContent = htmlContent
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user