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:
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).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/915
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
@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.
<!-- gh-comment-id:2974028726 -->
@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.
@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.
<!-- gh-comment-id:3067255113 -->
@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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @aszurnasirpal on GitHub (Jun 15, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/915
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:
How can I reset the admin account 2FA?
And yes, I did check my NTP time, and it's ok, synchronized
@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
twoFactorEnabledfor the user in the users table using something like dbever.@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.