Skip to Content

No Two-factor Authentication configured. Contact Administrator

How to resolve the 'No Two-factor Authentication enabled' error encountered while logging into the Ezeelogin GUI?


Overview: This article assists Ezeelogin admin privileged users in resolving the "No Two-factor Authentication enabled" error encountered while logging into the Ezeelogin GUI, which is caused by enforcing Force Two-Factor authentication without enabling any Two-Factor authentication methods.


 

This error happens when we enforce Two-Factor authentication without enabling any of the Two-Factor authentications.

Step 1: Run the following command to disable Force Two Factor Authentication.

root@jumpserver:~#  php /usr/local/ezlogin/ez_queryrunner.php "update prefix_settings SET value = 0 WHERE name = 'two_factor_auth'"

Or

root@jumpserver:~# php /usr/local/ezlogin/ez_queryrunner.php  "update prefix_usergroups SET force_tfa = 'N'"

Step 2:  Re-enable Force Two-Factor Authentication and any of theTwo-factor Authentication method which was used before. Login to Ezeelogin GUI and navigate to Settings -> General -> Two-Factor Authentication


Related Articles:

How to enable/disable google 2FA [Two factor Authentication] in Ezeelogin?

Clear two factor authentication

Disable two factor authentication from backend