mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-22 21:26:38 -05:00
[PR #6240] [MERGED] Fix 2fa recovery endpoint #7389
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/6240
Author: @BlackDex
Created: 8/27/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @dani-garcia
Base:
main← Head:fix-recovery-code📝 Commits (1)
35c984fFix 2fa recovery endpoint📊 Changes
2 files changed (+20 additions, -4 deletions)
View changed files
📝
src/api/identity.rs(+19 -4)📝
src/db/models/two_factor.rs(+1 -0)📄 Description
The newer web-vaults handle the 2fa recovery code differently. This commit fixes this by adding this new flow.
Fixes #6200
Fixes #6203
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.