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.

2 points · 1 comments · view on lemmy.world

1 Comments

notdeadyet@lemmy.notdead.net · 1 pts · 3y

Fixed this by setting totp_2fa_secret and totp_2fa_url to null in the postgres database for my local user!