2

I'd like not to show the Two Factor Authentication Fields and One time emergency passwords section from the core profile editing page.

Is there a simple solution similar to this question How to remove some fields from core Joomla Profile Editor??

3

You only need to disable the two factor authentication plugin from Plugin Manager > (search for) Two Factor > Disable the Two factor Authentication plugin which is enabled. That should be it!

If you DO NOT have access to the Administrator / Administration panel of the website because you have enabled 2FA and you know you can't login, you'll need to disable it via PHPMyAdmin

  1. Log in to PHPmyadmin
  2. Find the table ending in '_extensions' (the first few digits/letters are vary by installation)
  3. Find the plugin named plg_twofactorauth_totp
  4. change its 'enabled' status from '1'to '0' and save!

This disables the 2FA plugin

The 2FA plugin controls the 2FA fields, once it's disabled the fields will be gone. (note: if your using a 3rd party plugin for 2FA or for login that includes 2FA you will need to handle those on a case by case scenario)

If you want to set your 2FA for just front end or just back end (or even both) then follow these steps

The first step you need to do is enable two factor authentication by enabling the plugin from the Plugin Manager (Plugin Manager > Two Factor Authentication - Yubikey or Google Authenticator (depends which key generator you plan to use)). You can select whether you want this to be enabled for

The back-end only (admistrator) The front-end only (front-end) Both

Solution from https://www.dart-creations.com/joomla/joomla-tutorials/enabling-and-using-joomla-two-factor-authentication.html

  • Thanks for the answer but I guess it means that I can't remove 2FA only for some users? I was intending to keep it for super users. All I really want to do is remove the fields from the password reset form. – Kerst Dec 8 '15 at 12:17
2

I've discovered that both the Google and YubiKey authentication plugins have an option to select using 2FA for either frontend, backend or both. By setting both of these to 'backend only' hides the secret key field at login and all 2FA related fields in the user profile update screen. 2FA is still enabled when trying to access the backend.

0

Why would you not want to show this information - allowing users to apply two factor security can drastically decrease your chance of your site being hacked through brute forced passwords.

I would be looking to do the opposite and actually ENFORE every user to use two factor security

In removing this, you are decreasing the security of your user accounts.

  • 1
    -1 While I agree with your sentiment, it doesn't answer the user's question. It's better suited as a comment. – TryHarder Dec 2 '15 at 13:04
  • We understand the risk but for this particular time limited project with our specific users we don't want to use two factor authentication – Kerst Dec 2 '15 at 16:22
  • 1
    have you tried just disabling the 2 factor plugin? I suspect that'll do it. – Brian Peat Dec 3 '15 at 2:23
  • @BrianPeat Nope that doesn't do it – Kerst Dec 3 '15 at 14:03
  • bummer. What about this? It might hide too much though. joomla.stackexchange.com/questions/960/… – Brian Peat Dec 4 '15 at 14:12
-1

just rename 'twofactorauth' folder from cpanel >. File manager >> plugins

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.