mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 09:13:02 +03:00
Organization — Two-step login enforcement doesn't work #1341
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?
Originally created by @guillaume-u on GitHub.
Even if I've set "Two-step login" enable in an organization policy.
New user (via an invitation) can join this organization without Two-Step login configured on their account.
Steps to reproduce
Vaultwarden was started via "./vaultwarden" or via systemd.
Create a new organization
Set the policy "Two-step Login" to enable
Invite a new user (as "user" or "manager")
Create the new account (by following the invitation email) — without setting a two-step factor.
Accept the user in the organization.
Expected behaviour
Actual behaviour
@bokkabonga commented on GitHub:
There is an existing PR for this which is pending a review and checks, as far as i know. See #1604
@guillaume-u commented on GitHub:
You're right, it's the same issue as #981
Sorry.
Guillaume.