mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 01:23:15 +00:00
PM-4404 Added CreationDate to Fido2Credential objects and updated the UI bindings accordingly (#2832)
This commit is contained in:
committed by
GitHub
parent
72de17bd1d
commit
142c3145f0
@@ -1161,8 +1161,11 @@ namespace Bit.Core.Services
|
||||
cipher.Login.Fido2Credentials = new List<Fido2Credential>();
|
||||
foreach (var fido2Credential in model.Login.Fido2Credentials)
|
||||
{
|
||||
var fido2CredentialDomain = new Fido2Credential();
|
||||
await EncryptObjPropertyAsync(fido2Credential, fido2CredentialDomain, Fido2Credential.EncryptableProperties, key);
|
||||
var fido2CredentialDomain = new Fido2Credential
|
||||
{
|
||||
CreationDate = fido2Credential.CreationDate
|
||||
};
|
||||
await EncryptObjPropertyAsync(fido2Credential, fido2CredentialDomain, Fido2Credential.EncryptablePropertiesToMap, key);
|
||||
cipher.Login.Fido2Credentials.Add(fido2CredentialDomain);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user