mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-11 17:41:29 -05:00
[PR #6733] [MERGED] use email instead of empty name for webauhn #7471
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/6733
Author: @stefan0xC
Created: 1/18/2026
Status: ✅ Merged
Merged: 1/18/2026
Merged by: @BlackDex
Base:
main← Head:fix-issue-adding-with-webauthn📝 Commits (2)
63f47dfif empty use email instead of name for webauhn59560e3use email as display name if name is empty📊 Changes
4 files changed (+13 additions, -4 deletions)
View changed files
📝
src/api/core/organizations.rs(+1 -1)📝
src/api/core/two_factor/webauthn.rs(+1 -1)📝
src/api/identity.rs(+2 -2)📝
src/db/models/user.rs(+9 -0)📄 Description
it seems like the passkey registration currently fails if a user's name is empty
b2cd556f3e/src/api/core/two_factor/webauthn.rs (L144-L149)since the
user_display_nameis optional and not used for authentication using the email here should be okay.this should fix #6732
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.