-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.2] User: Allow MFA before password reset #44521
Conversation
This needs to be moved to a new method and the old method needs a deprecation to be b/c |
a56e1c6
to
5b3c86a
Compare
This should be b/c now. Please test (again). |
@Hackwar Thank you for taking this issue on it has prevented me from rolling out an updated J4/5 site since none of my users could reset their passwords without manual intervention form the admin. steve |
@Stevec4 can you open https://issues.joomla.org/tracker/joomla-cms/44521 and
Now the test count as successfull. |
I have tested this item ✅ successfully on f7778c3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44521. |
@fgsw Sorry forgot to submit the test. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44521. |
I have tested this item ✅ successfully on 9c16296 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44521. |
rtc This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44521. |
Thanks @Hackwar ! |
This breaks any extension using password_reset_password_tasks to add additional allowed URLs since the new checkUserRequiresReset is now checking only password_reset_password_urls. Shouldn't checkUserRequiresReset also be checking password_reset_password_tasks? Otherwise you've introduce a backwards compatibility break in a point release. We've just had to do an emergency fix and release because of this.. please stop doing this in minor/point releases. |
Pull Request for Issue #43311, #39895, #38788, #29576.
Summary of Changes
When having MFA enabled for a user, you can't log out, can't force a password reset and can't setup MFA after first login.
Testing Instructions
Actual result BEFORE applying this Pull Request
The user is stuck in a redirect loop or can't logout.
Expected result AFTER applying this Pull Request
1-3 The user gets shown the MFA captive view and can type in the required code. Afterwards the user is redirected to a page to update their password.
4-6 The user is redirected to setup MFA and then to reset their password.
7-9 The user is able to logout
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed