1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

[]PM-17744] Don't allow cloning the fido2Credentials (#13795)

* Don't allow cloning the fido2Credentials

* Do not allow user to copy the fido credentials when cloining

* removing unecessary code
This commit is contained in:
cd-bitwarden
2025-04-02 17:22:04 -04:00
committed by GitHub
parent 1450a033b3
commit e73a6fb16d

View File

@@ -160,7 +160,9 @@ export class LoginDetailsSectionComponent implements OnInit {
totp: existingLogin.totp,
});
this.existingFido2Credentials = existingLogin.fido2Credentials;
if (this.cipherFormContainer.config.mode != "clone") {
this.existingFido2Credentials = existingLogin.fido2Credentials;
}
if (!this.viewHiddenFields) {
this.loginDetailsForm.controls.password.disable();