In order for the two factor auth module to work with the new mobile addon for WHMCS, please follow the instructions below:
-Copy the twofactorverify.php file from the admin directory to the mobile directory.
-Edit the mobile/login.tpl
And change the form line to:
<form method="post" data-ajax="false" action="dologin.php">