Skip to content

Commit 3849fd2

Browse files
authored
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: ![image](https://github.com/go-gitea/gitea/assets/18380374/d96ed908-47ad-44cc-a624-4c10fa8c8c86)
1 parent 4f04ab2 commit 3849fd2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

templates/user/settings/account.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
<button class="ui red button delete-button" data-modal-id="delete-account" data-type="form" data-form="#delete-form">
150150
{{ctx.Locale.Tr "settings.confirm_delete_account"}}
151151
</button>
152-
<a href="{{AppSubUrl}}/user/forgot_password?email={{.Email}}">{{ctx.Locale.Tr "auth.forgot_password"}}</a>
153152
</div>
154153
</form>
155154
</div>

0 commit comments

Comments
 (0)