mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
What happens if I lose my Yubikey? #253
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vitobotta on GitHub (Mar 12, 2019).
Hi. I just purchased a Yubikey which I am going to use for BW kinda exclusively (I'm using BW itself for 2FA codes for other apps/sites). Once I set it up and get it working what happens if I ever lose it or it gets stolen or something? I have seen that in the admin panel there is an "Enabled" flag for Yubikey which seems to suggest I can turn it off whenever I need. Is this correct? If something like that happens would it be enough to disable Yubikey in the admin panel in order to be able to log in with just my password?
Thanks!
@dani-garcia commented on GitHub (Mar 12, 2019):
At the moment there is no option to turn two factor authentication off from the admin panel, so you have a couple of alternatives as a user:
If neither of those options work, you could edit the database manually. A query like this should do the trick and should be safe:
Edit: But adding an option to the admin panel is probably a good idea anyway, I'll have to think of a safe way to do it without cluttering the interface too much.
@dani-garcia commented on GitHub (Mar 14, 2019):
This question is anwered already and I added the idea to the feature requests list, so I'm going to close it.