WHMCS is great, for the most part, but last night I tried to login to my WHMCS admin panel with my google two factor auth only to be met with an error saying my 2fa code was incorrect.
I even tried using the backup code and still met with an error.
I raised a ticket with WHMCS 12 hours ago, no response yet. GRRRRR!
THE SOLUTION
If you have access to the WHMCS database through phpmyadmin or similar then find the table called: tbladmins.
Then find the column called “authmodule”.
Clear whatever is in that field (mine said “totp”).
You will then be able to access WHCMS admin without using 2fa.