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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user