[PR #4956] [MERGED] fix 2fa policy check on registration #3513

Closed
opened 2026-02-05 05:31:56 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: use-org-id-on-registration


📝 Commits (1)

  • 135d528 fix 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4956 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 9/15/2024 **Status:** ✅ Merged **Merged:** 9/18/2024 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `use-org-id-on-registration` --- ### 📝 Commits (1) - [`135d528`](https://github.com/dani-garcia/vaultwarden/commit/135d5286cf97b603266f3c954336abb77ac590c7) fix 2fa policy on registration ### 📊 Changes **2 files changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/accounts.rs` (+1 -1) 📝 `src/db/models/org_policy.rs` (+5 -3) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 05:31:56 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#3513