User tests: Successful: Unsuccessful:
Fixes #48022.
This pull request removes the redundant view query parameter from the frontend Reset Password and Remind Username form action URLs.
The following files are updated:
components/com_users/tmpl/reset/default.phpcomponents/com_users/tmpl/remind/default.phpThe forms already render within the correct view, so including the view parameter in the form action is unnecessary. The generated form action now contains only the required task parameter while preserving the existing functionality.
<form> element.action attribute no longer contains the view parameter.The generated form action URLs include an unnecessary view query parameter, for example:
/reset?view=reset&task=reset.request
/remind?view=remind&task=remind.remind
These URLs create unnecessary URL variations even though the forms are already rendered within the correct view.
The generated form action URLs no longer include the redundant view query parameter. The forms continue to function correctly using only the required task parameter, resulting in cleaner URLs.
Please select:
No documentation changes for guide.joomla.org needed
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End com_users |
| Labels |
Added:
PR-5.4-dev
|
||
@samson1299 Please use the structure of our pull request template and don't remove things when creating pull request.
Especially confirm that you have read our Generative AI policy by entering
Xbetween the squared brackets of the check box so it is checked.Thanks in advance.