Admin password reset #1811

Closed
opened 2026-04-06 02:25:41 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @sirux88 on 1/6/2023

Since i'd like to use the admin reset password functionality within my instance I implemented the missing "Reset Master Password" policy and the needed functions

There are two points that (maybe) need improvment:

  • Auto-enrollment won't work for instances without email enabled
  • Bitwarden's reference implementation logs out the user to reset after resetting the password. I haven't found a api/method for this and also don't know how to implement

As i'm not used to programming in rust please feel free to comment and throw any improvements concering syntax.
All other improvements are welcome aswell

*Originally created by @sirux88 on 1/6/2023* Since i'd like to use the admin reset password functionality within my instance I implemented the missing "Reset Master Password" policy and the needed functions There are two points that (maybe) need improvment: - Auto-enrollment won't work for instances without email enabled - Bitwarden's reference implementation logs out the user to reset after resetting the password. I haven't found a api/method for this and also don't know how to implement As i'm not used to programming in rust please feel free to comment and throw any improvements concering syntax. All other improvements are welcome aswell
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1811