[PR #6736] [MERGED] fix email as 2fa with auth requests #3844

Closed
opened 2026-03-03 10:38:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/6736
Author: @stefan0xC
Created: 1/19/2026
Status: Merged
Merged: 1/22/2026
Merged by: @dani-garcia

Base: mainHead: fix-mail2fa-with-authrequests


📝 Commits (2)

  • 258336b fix email as 2fa with auth requests
  • e477a21 increase expiry time of auth_requests to 15 minutes

📊 Changes

2 files changed (+38 additions, -11 deletions)

View changed files

📝 src/api/core/two_factor/email.rs (+35 -10)
📝 src/db/models/auth_request.rs (+3 -1)

📄 Description

this should allow login with device with email as second factor enabled https://github.com/dani-garcia/vaultwarden/discussions/6735


🔄 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/6736 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/22/2026 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `fix-mail2fa-with-authrequests` --- ### 📝 Commits (2) - [`258336b`](https://github.com/dani-garcia/vaultwarden/commit/258336bb4b91c3f4e5219ec883ffb9f70017f852) fix email as 2fa with auth requests - [`e477a21`](https://github.com/dani-garcia/vaultwarden/commit/e477a21d02c0672059cdae60cd0f99f2f77a9dc2) increase expiry time of auth_requests to 15 minutes ### 📊 Changes **2 files changed** (+38 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/two_factor/email.rs` (+35 -10) 📝 `src/db/models/auth_request.rs` (+3 -1) </details> ### 📄 Description this should allow login with device with email as second factor enabled https://github.com/dani-garcia/vaultwarden/discussions/6735 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 10:38:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#3844
No description provided.