mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[PR #5923] Fix and improvements to password policies #2508
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?
Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/5923
State: closed
Merged: Yes
Return the expected MasterPasswordPolicy when calling the user-verification endpoint.
This allows to enforce the policy when unlocking the screen.
And wrapped the
min_complexityandmin_lengthinoptionotherwise when set tonullthe whole policy was ignored.