How to disable 2FA after phone app got deleted by accident
Hi Guys
Need help with my WHM
I have a WHM with 2FA (two factor authentication ) enabled and had a google authenticate app on my iphone 6.#
Today, i accidentally lost my data on my iphone and could not restore my iphone and i dont have the backup of iphone.
now I cannot get into my whm with 2FA as it ask for code every time i try. I can still logon to my VPS with ssh, anyone cam tell me how to either disable my 2FA with ssh
-
Hello, You can disable two-factor authentication via the command line through WHM API 1: whmapi1 twofactorauth_disable_policy
The function is documented at: WHM API 1 Functions - twofactorauth_disable_policy Thank you.0 -
Thanks alot for the quick help 0 -
I'm happy to see that API function was helpful. Thank you for updating us with the outcome. 0 -
yes, it was brilliant, but i have another issue, i have another vps with same problem, but for this vps i dont have ssh excess aswell. anyway to disable the 2fa 0 -
yes, it was brilliant, but i have another issue, i have another vps with same problem, but for this vps i dont have ssh excess aswell. anyway to disable the 2fa
You will need to restore SSH access first, before enabling/disabling two-factor authentication. You may need to consult with your hosting provider or data center for help with restoring SSH access if both SSH and WHM are inaccessible. Thank you.0 -
Thanks again 0
Please sign in to leave a comment.
Comments
6 comments