Today I reset my phone so couldn’t log into my WHM server as 2FA was enabled, annoying…
Not a problem as it can be disabled via command line.
How do you Turn off 2FA on WHM with Command Line you ask?
Run this command line to disable 2FA. You can then set it back up by logging into WHM if need be.
Official documentation can be found here