User tests: Successful: Unsuccessful:
Pull Request for Issue #44715
This PR fixes password reset broken as described here #44715. Further more, I improved code of checkUserRequiresReset
, hopefully make it easier to understand and maintatin.
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Title |
|
Labels |
Added:
PR-5.2-dev
|
@Eric69-dev Thanks for reporting the bug (#44715). Can you test as the Pull Request need a second successfull test?
@Eric69-dev Thanks for reporting the bug (#44715). Can you test as the Pull Request need a second successfull test?
Hi,
I tested the pull request on my local Joomla instance. This fixed the redirection issue and user can connect to the backend but he is not noticed to renew his passord if "Require Password Reset" is set to Yes.
So it's better but not completly solved in my opinion.
Hi @Eric69-dev
When user login and password reset is required, there is a system message displayed You are required to reset your password before proceeding. See the attached screenshot, so I do not understand what's the difference with the previous behavior, could you please explain more details?
Hi @Eric69-dev
When user login and password reset is required, there is a system message displayed You are required to reset your password before proceeding. See the attached screenshot, so I do not understand what's the difference with the previous behavior, could you please explain more details?
Hi,
With Joomla 5.2.2, the first login of users with password reset required on the backend is automatically redirected to the user profile (with the system message displayed as you mentioned) and users cannot leave the profile page until they do what is asked of them.
In my opinion, this behavior was good in terms of security because it forced users to immediately customize their passwords.
With version 5.2.3, this mandatory redirection is no longer active and, despite the system message, users who do not reset their password appear with the mention "Password reset required" in the user manager.
@Eric69-dev Isn't it works the same with the change implemented in this PR:
So unless I misunderstood your message, it is working as expected for me.
I re-applied the PR on a fresh install of Joomla 5.2.3 and indeed the expected behavior works correctly.
My previous test instance must be a bit crappy...
Sorry for my mistake and I confirm that the problem is solved.
Thanks Joomla Team!
@Eric69-dev please mark your successfull test at https://issues.joomla.org/tracker/joomla-cms/44723
I have tested this item ✅ successfully on 6fe7ad0
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
Release Blocker
|
Labels |
Added:
bug
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-01-18 10:39:32 |
Closed_By | ⇒ | Hackwar |
Thank you!
Thanks all !
I have tested this item ✅ successfully on 6fe7ad0
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44723.