Skip to main content

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

Comments

6 comments

  • cPanelMichael
    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
  • numarketing
    Thanks alot for the quick help
    0
  • cPanelMichael
    I'm happy to see that API function was helpful. Thank you for updating us with the outcome.
    0
  • numarketing
    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
  • cPanelMichael
    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
  • numarketing
    Thanks again
    0

Please sign in to leave a comment.