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,
false, settings.From,
[]string{email},
cc.Tr("reset_email_subject"),
"Reset Harbor user password",
message.String())
if err != nil {
log.Errorf("Send email failed: %v", err)