You've already forked openaccounting-server
mirror of
https://github.com/openaccounting/oa-server.git
synced 2025-12-09 00:50:59 +13:00
fix from
This commit is contained in:
@@ -181,7 +181,7 @@ func (model *Model) SendVerificationEmail(user *types.User) error {
|
||||
|
||||
link := model.config.WebUrl + "/user/verify?code=" + user.EmailVerifyCode
|
||||
|
||||
from := model.config.MailgunSender + "<" + model.config.MailgunEmail + ">"
|
||||
from := model.config.MailgunSender + " <" + model.config.MailgunEmail + ">"
|
||||
subject := "Verify your email"
|
||||
to := user.Email
|
||||
|
||||
@@ -217,7 +217,7 @@ func (model *Model) SendPasswordResetEmail(user *types.User) error {
|
||||
|
||||
link := model.config.WebUrl + "/user/reset-password?code=" + user.PasswordReset
|
||||
|
||||
from := model.config.MailgunSender + "<" + model.config.MailgunEmail + ">"
|
||||
from := model.config.MailgunSender + " <" + model.config.MailgunEmail + ">"
|
||||
subject := "Reset password"
|
||||
to := user.Email
|
||||
|
||||
|
||||
Reference in New Issue
Block a user