mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-24 19:07:44 +03:00
[PR #4956] [MERGED] fix 2fa policy check on registration #3513
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/4956
Author: @stefan0xC
Created: 9/15/2024
Status: ✅ Merged
Merged: 9/18/2024
Merged by: @dani-garcia
Base:
main← Head:use-org-id-on-registration📝 Commits (1)
135d528fix 2fa policy on registration📊 Changes
2 files changed (+6 additions, -4 deletions)
View changed files
📝
src/api/core/accounts.rs(+1 -1)📝
src/db/models/org_policy.rs(+5 -3)📄 Description
Email as 2FA provider has not automatically been setup by default for new invitations when the 2FA required policy was enabled because I did not check the correct uuid.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.