diff options
author | yp05327 <576951401@qq.com> | 2023-12-15 23:13:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-15 14:13:55 +0000 |
commit | 3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b (patch) | |
tree | 0ef594556956dfcccfcc296918f8d0b433d3ca19 | |
parent | 4f04ab25867ee1b4f20241798bf90a588083ec6b (diff) | |
download | gitea-3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b.tar.gz gitea-3849fd2ac2163b109f9dc1e873ffb9bc8f53c63b.zip |
Remove unnecessary forgot password link in delete user section (#28355)
Before:
<img width="458" alt="image"
src="https://github.com/go-gitea/gitea/assets/18380374/92815496-38cc-4bb9-9182-1509a72b07f6">
After:

-rw-r--r-- | templates/user/settings/account.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index 6e8386988a..7c6fd49a08 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -149,7 +149,6 @@ <button class="ui red button delete-button" data-modal-id="delete-account" data-type="form" data-form="#delete-form"> {{ctx.Locale.Tr "settings.confirm_delete_account"}} </button> - <a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{ctx.Locale.Tr "auth.forgot_password"}}</a> </div> </form> </div> |