Skip to main content

Two Factor Authentication Invalid Code Error

Comments

4 comments

  • Jcats
    Try checking this one: /usr/local/cpanel/logs/secpol_log
    0
  • cPanelMichael
    Hello, Could you let us know the version of cPanel installed on the system? Also, do you notice any output to /usr/local/cpanel/logs/error_log when this happens? Thank you.
    0
  • cetiner
    [2019-10-12 09:03:41 +0200] info [securitypolicy] Security Policy Failed: ['TwoFactorAuth">, User: ['root">, Appname: ['whostmgrd">, IP: ['XX.XX.XX.X">, Error: ['The security code is invalid."> Hello dear @cPanelMichael , Same error message like on the frontend. Can't use it. Bevore it was activated successfully activated but login with 2FA always failed. Removed/deactivated 2FA via command line and tried to reconfigure it - no chance.... Removed the deactivated user root in frontend and tried to reconfigure it - failed.
    0
  • Dansk
    Greetings, Same issue here. This only started within the last couple months after an update to WHM. What error messages in the error log would I be looking for exactly? cPanel version is 84.0.16. Kind thanks
    0

Please sign in to leave a comment.