If calling the function Mfa::getConfigurationInterface from a 3-party component it throws an asset error.
There is no "com_users.two-factor-list" asset of a "script" type in the registry.
No error should be thrown.
Asset error.
dbserver: mysql
dbversion: 8.0.21-12.1
phpversion: 8.3.8
server: nginx/1.25.4
version: Joomla! 5.1.1 Stable [ Kudumisha ] 28-May-2024 16:00 GMT
The issues is here.
if (!$app->getInput()->getCmd('option', '') === 'com_users') {
should be
if (!($app->getInput()->getCmd('option', '') === 'com_users')) {
or
if ($app->getInput()->getCmd('option', '') !== 'com_users') {
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
bug
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-07-21 00:01:07 |
Closed_By | ⇒ | Quy |
Thanks for the report. Please test #43818 for v4.4 to be upmerged.