mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 01:03:24 +00:00
fix null ref when no uri
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Bit.App.Models.Api
|
|||||||
|
|
||||||
public LoginType(Cipher cipher)
|
public LoginType(Cipher cipher)
|
||||||
{
|
{
|
||||||
Uris = cipher.Login.Uris.Select(u => new LoginUriType(u));
|
Uris = cipher.Login.Uris?.Select(u => new LoginUriType(u));
|
||||||
Username = cipher.Login.Username?.EncryptedString;
|
Username = cipher.Login.Username?.EncryptedString;
|
||||||
Password = cipher.Login.Password?.EncryptedString;
|
Password = cipher.Login.Password?.EncryptedString;
|
||||||
Totp = cipher.Login.Totp?.EncryptedString;
|
Totp = cipher.Login.Totp?.EncryptedString;
|
||||||
|
|||||||
Reference in New Issue
Block a user