Skip to Content

No Two-factor Authentication configured. Contact Administrator

No Two-factor Authentication enabled


This error happens when we enforce Two-Factor authentication without enabling any of the Two-Factor authentications. Run the following command to disable Force Two Factor Authentication. You should re-enable it from the Ezeelogin GUI as follows.

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'"

You should re-enable the Force Two-Factor Authentication and  Two-factor Authentication which you have used before

From Ezeelogin GUI > Settings > General > Two-Factor Authentication.