Any way to disable two factor authentication without logging in?
I have checked there already, and I can't seem to find any option. Will changing the password work?
Now I have to wait a while to post this, gotta hate spam protection xD
I don't really know, since I don't have it enabled :p.
Yeah, the 2-minute limit really makes troubleshooting tricky.
I'll just give it a try I guess
EDIT: Nope, doesn't work
EDIT EDIT: I'll try removing the user and creating a new administrator user
OK. I think I can tell you how to disable it. It involves DB editing, so be ready for CMDs.
I think if you remove the user, it'll delete the servers associated.
@zacharee I don't have any servers associated to the administrator account so it's not really a problem
Well I can tell you how to disable TOTP. It isn't that bad.
Yes please :) I just realised I do have one server associated with my account
Open a terminal and run these commands:
mysql -u root -p-- enter your password when prompted
USE pufferpanel;to select the PP DB. Semi-colon is there on purpose.
SELECT * FROM users;
UPDATE users SET use_totp="0" WHERE username="YOURUSERNAME";
UPDATE users SET totp_secret=NULL WHERE username="YOURUSERNAME";
For the two
UPDATEcommands, you can use
You edited your post just in time, I was about to update "totp_secret" to "" when I noticed you changed it to NULL
EDIT: Works like a charm, thanks for the time you put into helping me :)
Yeah. I'm not amazing with MySQL, so I looked up how to set something to NULL to make sure. Good thing I did :p.