Disable WHM Two-Factor Authentication via Command Line

In the event you lose your device or two-factor just isn’t working for whatever reason, you have the ability to disable it by logging into your server via command line as root. Then run the following to disable two-factor authentication… For further options you can review the official documentation… WHM API 1 Functions – twofactorauth_disable_policy