mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-17 09:22:30 -05:00
[PR #7045] [CLOSED] Add authType field to Send API responses #36991
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/7045
Author: @jalenfran
Created: 4/1/2026
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
f3ecc8cAdd authType field to Send API responses📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
src/db/models/send.rs(+4 -0)📄 Description
Fixes #6976
Problem
All Sends were displaying as password-protected in the web vault regardless of their actual protection status.
Root Cause
The web-vault changed how it determines Send protection status in bitwarden/clients@9f74178. It now checks
authType !== AuthType.Noneinstead of checking for the presence of thepasswordfield, but Vaultwarden wasn't returningauthTypein its API responses.Fix
Add
authTypetoSend.to_json()using Bitwarden'sAuthTypeenum:0= Email (future email OTP support)1= Password protected2= None (no authentication required)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.