1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

exclude fido2crednetials when creating login item from template via CLI (#14766)

This commit is contained in:
SmithThe4th
2025-05-21 18:06:06 -04:00
committed by GitHub
parent 121ff93ea1
commit 0555d827c6

View File

@@ -15,7 +15,7 @@ export class LoginExport {
req.username = "jdoe"; req.username = "jdoe";
req.password = "myp@ssword123"; req.password = "myp@ssword123";
req.totp = "JBSWY3DPEHPK3PXP"; req.totp = "JBSWY3DPEHPK3PXP";
req.fido2Credentials = [Fido2CredentialExport.template()]; req.fido2Credentials = [];
return req; return req;
} }
@@ -48,7 +48,7 @@ export class LoginExport {
username: string; username: string;
password: string; password: string;
totp: string; totp: string;
fido2Credentials: Fido2CredentialExport[] = []; fido2Credentials: Fido2CredentialExport[];
constructor(o?: LoginView | LoginDomain) { constructor(o?: LoginView | LoginDomain) {
if (o == null) { if (o == null) {