[PR #3982] [MERGED] fix links to prevent 404 after e.g. submitting a faulty form #17180

Closed
opened 2025-11-02 12:28:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3982
Author: @daviian
Created: 5/17/2018
Status: Merged
Merged: 5/19/2018
Merged by: @techknowlogick

Base: masterHead: bugfix/button-links-settings


📝 Commits (2)

  • 372c9cc fix links to prevent 404 after e.g. submitting a faulty form
  • 28a2fb6 Merge branch 'master' into bugfix/button-links-settings

📊 Changes

4 files changed (+12 additions, -12 deletions)

View changed files

📝 templates/user/settings/account.tmpl (+5 -5)
📝 templates/user/settings/security_accountlinks.tmpl (+1 -1)
📝 templates/user/settings/security_openid.tmpl (+3 -3)
📝 templates/user/settings/security_twofa.tmpl (+3 -3)

📄 Description

PR fastens links in forms to prevent 404 after e.g. submitting a faulty form.

Example

Trying to delete the account and provide a wrong password leads to an url /user/settings/account/delete
If you now try to change your password or email address it doesn't work as you will receive a 404.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3982 **Author:** [@daviian](https://github.com/daviian) **Created:** 5/17/2018 **Status:** ✅ Merged **Merged:** 5/19/2018 **Merged by:** [@techknowlogick](https://github.com/techknowlogick) **Base:** `master` ← **Head:** `bugfix/button-links-settings` --- ### 📝 Commits (2) - [`372c9cc`](https://github.com/go-gitea/gitea/commit/372c9cce1ce702da3d268ffdb5f80b78c01ddeae) fix links to prevent 404 after e.g. submitting a faulty form - [`28a2fb6`](https://github.com/go-gitea/gitea/commit/28a2fb6e1f078e68fe1bebcdefc8849e85dab1ad) Merge branch 'master' into bugfix/button-links-settings ### 📊 Changes **4 files changed** (+12 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `templates/user/settings/account.tmpl` (+5 -5) 📝 `templates/user/settings/security_accountlinks.tmpl` (+1 -1) 📝 `templates/user/settings/security_openid.tmpl` (+3 -3) 📝 `templates/user/settings/security_twofa.tmpl` (+3 -3) </details> ### 📄 Description PR fastens links in forms to prevent 404 after e.g. submitting a faulty form. ## Example Trying to delete the account and provide a wrong password leads to an url `/user/settings/account/delete` If you now try to change your password or email address it doesn't work as you will receive a 404. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:28:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17180