How to disable 2FA after phone app got deleted by accident

numarketing

Member
Jan 9, 2014
9
0
51
cPanel Access Level
Root Administrator
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
I'm happy to see that API function was helpful. Thank you for updating us with the outcome.
 

numarketing

Member
Jan 9, 2014
9
0
51
cPanel Access Level
Root Administrator
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
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.