I messed up. After setting up 2fa in ispconfig for admin, I cannot login because it is trying to send 2fa code to the wrong address. Plus I did not setup the admin details correctly. I have ssh access to the ispconfig server. How can I disable 2fa for the admin user? Then I can set everything up correctly and try again.
Problem solved with the following post. Phew! https://forum.howtoforge.com/thread...entication-for-admin-user-in-ispconfig.89777/