mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 10:54:00 +00:00
[PM-30675] Fix certain data fields being incorrect in account-restricted exports (#18531)
This commit is contained in:
committed by
jaasen-livefront
parent
981e6e1e05
commit
236bebbc38
@@ -38,7 +38,11 @@ export class LoginExport {
|
||||
domain.username = conditionalEncString(req.username);
|
||||
domain.password = conditionalEncString(req.password);
|
||||
domain.totp = conditionalEncString(req.totp);
|
||||
// Fido2credentials are currently not supported for exports.
|
||||
if (req.fido2Credentials != null) {
|
||||
domain.fido2Credentials = req.fido2Credentials.map((f2) =>
|
||||
Fido2CredentialExport.toDomain(f2),
|
||||
);
|
||||
}
|
||||
|
||||
return domain;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user