From 8a98a25d8e538d7ef026147b14b937beba2b1056 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 11 Mar 2017 10:11:54 +0100 Subject: Show a link to password reset from password change and delete account (#862) It's helpful when you forgot your password thus cannot change it (can happen if you log in via OAuth2 or OpenID) Also make sure that both the delete-account and password-change links to forgot-password will have the primary email pre-filled --- templates/user/settings/delete.tmpl | 3 +++ templates/user/settings/password.tmpl | 1 + 2 files changed, 4 insertions(+) (limited to 'templates') diff --git a/templates/user/settings/delete.tmpl b/templates/user/settings/delete.tmpl index b95eb2105f..67f5782d6e 100644 --- a/templates/user/settings/delete.tmpl +++ b/templates/user/settings/delete.tmpl @@ -22,6 +22,9 @@
{{.i18n.Tr "settings.confirm_delete_account"}}
+
+ {{.i18n.Tr "auth.forget_password"}} +
diff --git a/templates/user/settings/password.tmpl b/templates/user/settings/password.tmpl index b59d1ff56f..f4883d7bf0 100644 --- a/templates/user/settings/password.tmpl +++ b/templates/user/settings/password.tmpl @@ -29,6 +29,7 @@
+ {{.i18n.Tr "auth.forget_password"}}
{{else}} -- cgit v1.2.3