mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 13:38:13 -05:00
[PM-5819] fix: return empty string if name is null (#3691)
This commit is contained in:
parent
10f590b4e7
commit
c4625c6c94
@ -21,7 +21,7 @@ internal class GetWebAuthnLoginCredentialCreateOptionsCommand : IGetWebAuthnLogi
|
|||||||
{
|
{
|
||||||
var fidoUser = new Fido2User
|
var fidoUser = new Fido2User
|
||||||
{
|
{
|
||||||
DisplayName = user.Name,
|
DisplayName = user.Name ?? "",
|
||||||
Name = user.Email,
|
Name = user.Email,
|
||||||
Id = user.Id.ToByteArray(),
|
Id = user.Id.ToByteArray(),
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user