mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 08:54:01 -05:00
[PR #4899] [MERGED] Allow Org Master-Pw policy enforcement #20358
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4899
Author: @BlackDex
Created: 8/26/2024
Status: ✅ Merged
Merged: 8/27/2024
Merged by: @dani-garcia
Base:
main← Head:force-org-password-policy📝 Commits (2)
6943c6fAllow Org Master-Pw policy enforcementbc0eafbUse .reduce instead of .fold📊 Changes
1 file changed (+43 additions, -3 deletions)
View changed files
📝
src/api/identity.rs(+43 -3)📄 Description
We didn't returned the master password policy for the user. If the
Require existing members to change their passwordscheck was enabled this should trigger the login to show a change password dialog.All the master password policies are merged into one during the login response and it will contain the max values and all
truevalues which are set by all the different orgs if a user is an accepted member.Fixes #4507
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.