diff options
author | Mathijs van Veluw <[email protected]> | 2024-08-27 19:37:51 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-08-27 19:37:51 +0200 |
commit | 978f0092937c3a62f2de4ddc487137429754d3c0 (patch) | |
tree | 836c95e8cb1084b3cc8bf782bcdd9975eff419c8 /.gitignore | |
parent | 92f1530e96449a93eb172cb6ac920bf2b1cad603 (diff) | |
download | vaultwarden-978f0092937c3a62f2de4ddc487137429754d3c0.tar.gz vaultwarden-978f0092937c3a62f2de4ddc487137429754d3c0.zip |
Allow Org Master-Pw policy enforcement (#4899)
* Allow Org Master-Pw policy enforcement
We didn't returned the master password policy for the user.
If the `Require existing members to change their passwords` check 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 `true` values which are set by all the different orgs if a user is an accepted member.
Fixes #4507
Signed-off-by: BlackDex <[email protected]>
* Use .reduce instead of .fold
Signed-off-by: BlackDex <[email protected]>
---------
Signed-off-by: BlackDex <[email protected]>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions