How to reset 2FA ? #438

Closed
opened 2025-11-13 12:00:31 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @aszurnasirpal on GitHub (Jun 15, 2025).

For unknown reasons, my 2FA stored in Bitwarden no longer works. My admin account was secured that way.
Every time, I provide the correct password, and enter my code I get error:

Image

How can I reset the admin account 2FA?

And yes, I did check my NTP time, and it's ok, synchronized

Originally created by @aszurnasirpal on GitHub (Jun 15, 2025). For unknown reasons, my 2FA stored in Bitwarden no longer works. My admin account was secured that way. Every time, I provide the correct password, and enter my code I get error: <img width="592" alt="Image" src="https://github.com/user-attachments/assets/d01e3f5d-5ad3-4d4f-86fa-ac9b9508fe52" /> How can I reset the admin account 2FA? And yes, I did check my NTP time, and it's ok, synchronized
Author
Owner

@oschwartz10612 commented on GitHub (Jun 15, 2025):

Good to check on the NTP time. I would triple check that because thats almost always what causes this. Make sure its not off at all.

Otherwise you are in a bit of a sticky situation. Did you save your backup codes? You can use those to get back in and turn it off if you need to. If not you can edit the database and turn off twoFactorEnabled for the user in the users table using something like dbever.

@oschwartz10612 commented on GitHub (Jun 15, 2025): Good to check on the NTP time. I would triple check that because thats almost always what causes this. Make sure its not off at all. Otherwise you are in a bit of a sticky situation. Did you save your backup codes? You can use those to get back in and turn it off if you need to. If not you can edit the database and turn off `twoFactorEnabled` for the user in the users table using something like dbever.
Author
Owner

@riversideneyon commented on GitHub (Jul 13, 2025):

I have noticed same and I think it's compatibility issue in Bitwarden 2FA.
I let Bitwarden read QR code and apply but I get error mismatch while my 2FA APP (at same time scanned QR) works and code is also different.

@riversideneyon commented on GitHub (Jul 13, 2025): I have noticed same and I think it's compatibility issue in Bitwarden 2FA. I let Bitwarden read QR code and apply but I get error mismatch while my 2FA APP (at same time scanned QR) works and code is also different.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#438