modify the subject of resetting password email, fix #1919

This commit is contained in:
ywk253100 2017-04-05 19:43:42 +08:00 committed by Wenkai Yin
parent b7a196f7aa
commit 7c64709402

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)