# HG changeset patch # User Bernhard Reiter # Date 1535366647 -7200 # Node ID 9b3db1d7a7ebc4f74d16acb0d507d7de03d80b5c # Parent ef7f56d326ae7d970bd4650ff8a659d3ed96f575 proxy: improve texts for password reset mails. * Change mail texts to give extra information about that someone else could have initiated the reset and that it can be savely ignored. In addition that you'll get a password mailed back when following the link diff -r ef7f56d326ae -r 9b3db1d7a7eb pkg/controllers/pwreset.go --- a/pkg/controllers/pwreset.go Mon Aug 27 11:56:43 2018 +0200 +++ b/pkg/controllers/pwreset.go Mon Aug 27 12:44:07 2018 +0200 @@ -61,16 +61,19 @@ var ( passwordResetRequestMailTmpl = template.Must( - template.New("request").Parse(`You have requested a password change + template.New("request").Parse(`You or someone else has requested a password change for your account {{ .User }} on {{ .HTTPS }}://{{ .Server }} -Please follow this link to get to the page where you can change your password. +Please follow this link to have a new password generated and mailed to you: {{ .HTTPS }}://{{ .Server }}/api/users/passwordreset/{{ .Hash }} The link is only valid for 12 hours. +If you did not initiate this password reset or do not want to reset the +password, just ignore this email. + Best regards Your service team`))