dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
34.78k stars 1.69k forks source link

Master passwort requirements: Require existing members to change their passwords-setting #4507

Open wighub opened 2 months ago

wighub commented 2 months ago

We recently set up a master password-policy and expected the flag "Require existing members to change their passwords" to enforce noncompliant users to update their password on the next login (as documented here) This does not apply: Our testuser with a noncompliant password can still log in and no enforcement takes place. The new master password policy will only apply when user tries to change his password. We are using Version 1.30.5

To Reproduce

  1. Disable any master password policy
  2. Create new user
  3. Invite user to organisation
  4. Enable password policy including flag "Require existing members to change their passwords"
  5. Log in as noncompliant user