[PR #7225] [MERGED] fix email 2fa for bw cli #23432

Closed
opened 2026-05-16 06:00:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/7225
Author: @stefan0xC
Created: 5/14/2026
Status: Merged
Merged: 5/16/2026
Merged by: @BlackDex

Base: mainHead: fix-mail-2fa-for-cli


📝 Commits (1)

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 src/api/core/two_factor/email.rs (+5 -2)

📄 Description

fixes #7212 by making the device identifier optional.

Note that this means that you can't login using sso if you have enabled email as 2fa because the cli apparently sends neither an email address nor a device id as far as I've tested it...


🔄 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/7225 **Author:** [@stefan0xC](https://github.com/stefan0xC) **Created:** 5/14/2026 **Status:** ✅ Merged **Merged:** 5/16/2026 **Merged by:** [@BlackDex](https://github.com/BlackDex) **Base:** `main` ← **Head:** `fix-mail-2fa-for-cli` --- ### 📝 Commits (1) - [`e7acb42`](https://github.com/dani-garcia/vaultwarden/commit/e7acb422734d9d119636f4ec1beffaa89506b867) fix email 2fa for bw cli ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/two_factor/email.rs` (+5 -2) </details> ### 📄 Description fixes #7212 by making the device identifier optional. Note that this means that you can't login using sso if you have enabled email as 2fa because the cli apparently sends neither an email address nor a device id as far as I've tested it... --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-16 06:00:38 -05:00
GiteaMirror changed title from [PR #7225] fix email 2fa for bw cli to [PR #7225] [MERGED] fix email 2fa for bw cli 2026-05-22 02:26:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#23432