comparison pkg/controllers/pwreset.go @ 3961:9d395217bd1f

PW reset: Mention in mail that the request will be canceled if you log in before following the link.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 16 Jul 2019 18:32:24 +0200
parents 6dd9741d6ff7
children 5f3f571c105c
comparison
equal deleted inserted replaced
3960:4268bb8e2839 3961:9d395217bd1f
98 {{ .Server }}/api/users/passwordreset/{{ .Hash }} 98 {{ .Server }}/api/users/passwordreset/{{ .Hash }}
99 99
100 The link is only valid for 12 hours. 100 The link is only valid for 12 hours.
101 101
102 If you did not initiate this password reset or do not want to reset the 102 If you did not initiate this password reset or do not want to reset the
103 password, just ignore this email. 103 password, just ignore this email. Logging in with your old password
104 before following the link will cancel this password reset request, too.
104 105
105 Best regards 106 Best regards
106 Your service team`)) 107 Your service team`))
107 108
108 passwordResetPage = htmlTemplate.Must( 109 passwordResetPage = htmlTemplate.Must(