[6.1] Allow to force or never force MFA for superusers#46248
[6.1] Allow to force or never force MFA for superusers#46248HLeithner merged 8 commits intojoomla:6.1-devfrom
Conversation
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
Co-authored-by: Benjamin Trenkle <bembelimen@users.noreply.github.com>
Requested changes have been implemented.
|
Hmm, not sure if it is a new feature which would have to go into 6.1-dev. |
|
Done @richard67 |
|
I can see that Super Users appears in each of the dropdown lists. Can you explain what happens if I select both? Will I lock myself out? Does the wording of the inline description need adjustment? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46248. |
Good question i have not changed the code so the same will happen when you select both Administrator. If anything you will not lock you self as that only makes sure that its forced that you have to setup 2FA or not. But in the end it will always be a binary decision. This is the code so when i understand this correctly than forceing 2FA will win: joomla-cms/libraries/src/Application/MultiFactorAuthenticationHandler.php Lines 100 to 114 in d4be2a6 |
|
I have tested this item ✅ successfully on 34b30b7 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46248. |
|
I have tested this item ✅ successfully on 34b30b7
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46248. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46248. |
|
thanks |
also did the same changes that were made for 6.1 in PR joomla#46248
Summary of Changes
Allow to force or never force MFA for superusers too.
Testing Instructions
Go to Users -> Manage -> Options -> Multi-factor Authentication
Check the options "Disable Multi-factor Authentication" and "Enforce Multi-factor Authentication"
Actual result BEFORE applying this Pull Request
Its not possible to force or never force MFA for superusers

Expected result AFTER applying this Pull Request
It is possible to force or never force MFA for superusers

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