1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

[PM-5819] fix: return empty string if name is null (#3691)

This commit is contained in:
Andreas Coroiu
2024-01-25 14:50:13 +01:00
committed by GitHub
parent 10f590b4e7
commit c4625c6c94

View File

@ -21,7 +21,7 @@ internal class GetWebAuthnLoginCredentialCreateOptionsCommand : IGetWebAuthnLogi
{
var fidoUser = new Fido2User
{
DisplayName = user.Name,
DisplayName = user.Name ?? "",
Name = user.Email,
Id = user.Id.ToByteArray(),
};