Install Joomla 4.0-dev
Login
Visit Post Installlation Messages
Click Enable two factor authentication button
EDIT: ENABLE YOUR JOOMLA CACHE in Joomla Global Config
Go to plugins and note that the plugins ARE ENABLED
Go to your User Menu -> Edit Account
Two Factory Authentication Tab available
No Two Factory Authentication Tab available
HOWEVER, then go and edit and SAVE (with no changes) the 2fa plugins again, then the tab will be available.
Im guessing the SQL that the "Enable two factor authentication" button runs is not setting all fields in the db correctly - is this a null issue again?
Labels |
Added:
?
|
the only thing which could be wrong is that the enabled field is declare as
`enabled` tinyint(3) NOT NULL DEFAULT 0,
https://github.com/joomla/joomla-cms/blob/4.0-dev/installation/sql/mysql/base.sql#L121
so
->set($db->quoteName('enabled') . ' = ' . $db->quote(1))
should be
->set($db->quoteName('enabled') . ' = 1')
Enable Joomla Cache. Test again. = Broken.
Its a caching issue. The cache needs flushing after the enabled is changed - else it doesn't show the tab
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-08-19 08:36:55 |
Closed_By | ⇒ | alikon |
I can't reproduce the issue. The query only updates one column. I don't see how null values could be an issue here:
joomla-cms/plugins/twofactorauth/totp/postinstall/actions.php
Lines 54 to 60 in 0ebb8a6