Merge pull request #1929 from ywk253100/170405_subject

Modify the subject of resetting password email
This commit is contained in:
Daniel Jiang 2017-04-07 11:33:29 +08:00 committed by GitHub
commit 7bf124735a

View File

@ -158,7 +158,7 @@ func (cc *CommonController) SendEmail() {
60, settings.SSL, 60, settings.SSL,
false, settings.From, false, settings.From,
[]string{email}, []string{email},
cc.Tr("reset_email_subject"), "Reset Harbor user password",
message.String()) message.String())
if err != nil { if err != nil {
log.Errorf("Send email failed: %v", err) log.Errorf("Send email failed: %v", err)