2FA Token Wrong
2FA Token Wrong
Hello,
I have tried to add 2FA to my admin account on my instance, and now I am locked out of my account because it keeps saying my token is wrong.
Is there a way for me to remove it somehow?
I have installed Lemmy through docker if that's any help.
Are you skilled with SQL? Everything should be working off the DB state so you just need to sift through and edit your user record
2 0 ReplyUnfortunately, I am not. But I'm a quick learner.
Do you have any idea where I can start looking for my user record in the postures database?
2 0 ReplyI fixed it, added a comment with what worked. Thanks for pointing me in the right direction!
1 0 Reply
Fixed this by setting totp_2fa_secret and totp_2fa_url to null in the postgres database for my local user!
1 0 ReplyNice work! Yeah the database is king in these lands
1 0 Reply