mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
replace the app name in the email with the one configured in the config file
This commit is contained in:
@@ -58,6 +58,7 @@ func (s *ForgetPasswordService) SendPasswordResetEmail(user *models.User, passwo
|
||||
}
|
||||
|
||||
templateParams := map[string]interface{}{
|
||||
"AppName": s.CurrentConfig().AppName,
|
||||
"ForgetPasswordMail": map[string]interface{}{
|
||||
"Title": forgetPasswordTextItems.Title,
|
||||
"Salutation": fmt.Sprintf(forgetPasswordTextItems.SalutationFormat, user.Nickname),
|
||||
|
||||
Reference in New Issue
Block a user