diff --git a/pages/reset.tmpl b/pages/reset.tmpl index 3db2418..bc18377 100644 --- a/pages/reset.tmpl +++ b/pages/reset.tmpl @@ -1,54 +1,58 @@ {{define "head"}}Reset password — {{.SiteName}} {{end}} {{define "content"}}

Reset your password

-{{ if not .EmailEnabled }} +{{ if .DisablePasswordAuth }} +
+

Password login is disabled on this server, so it's not possible to reset your password.

+
+{{ else if not .EmailEnabled }}

Email is not configured on this server! Please contact your admin to reset your password.

{{ else }} {{if .Flashes}}{{end}} {{if .IsResetting}}
{{ .CSRFField }}
{{else if not .IsSent}}
{{ .CSRFField }}
{{end}} {{ end }} {{end}}