XF 2.0 Locked Out By Two Factor Authentication


Following a PC crash & rebuild and getting myself a new phone, I seem to have managed to have locked myself out of my own admin account on my forum.

I have access to server and database, is there an easy way I can get myself back in again?


Thanks. I am using phpMyAdmin. I have found the xf files down the left side of the window, but cant find one called src

I should point out that I find understanding software somewhere between voodoo and Chinese :)


XenForo moderator
Staff member
Once you have regained access, ensure you remove that line from the config.php file, otherwise 2FA will not work for anyone.