mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 04:05:40 +01:00
modify the subject of resetting password email, fix #1919
This commit is contained in:
parent
b7a196f7aa
commit
7c64709402
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user