Mercurial > gemma
comparison pkg/controllers/pwreset.go @ 3973:5f3f571c105c
Cleaned up whitespace in HTML template for password reset.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 17 Jul 2019 11:28:11 +0200 |
parents | 9d395217bd1f |
children | c412dff6e1da |
comparison
equal
deleted
inserted
replaced
3972:72473ebd9d64 | 3973:5f3f571c105c |
---|---|
109 passwordResetPage = htmlTemplate.Must( | 109 passwordResetPage = htmlTemplate.Must( |
110 htmlTemplate.New("page").Parse(`<!DOCTYPE html> | 110 htmlTemplate.New("page").Parse(`<!DOCTYPE html> |
111 <html lang="en"> | 111 <html lang="en"> |
112 <head> | 112 <head> |
113 <meta charset="utf-8" /> | 113 <meta charset="utf-8" /> |
114 <title>Password reset done</title> | 114 <title>Password reset done</title> |
115 </head> | 115 </head> |
116 <body> | 116 <body> |
117 <p>The password reset for user <strong><tt>{{ .User }}</tt></strong> successfully done.</p> | 117 <p>The password reset for user <strong><tt>{{ .User }}</tt></strong> successfully done.</p> |
118 <p>New password: <strong><tt>{{ .Password }}</tt></strong></p> | 118 <p>New password: <strong><tt>{{ .Password }}</tt></strong></p> |
119 <p><a href="/">Go to login page.</a></p> | 119 <p><a href="/">Go to login page.</a></p> |
120 </body> | 120 </body> |
121 </html> | 121 </html> |
122 `)) | 122 `)) |
123 ) | 123 ) |
124 | 124 |