mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-08 19:18:02 +01:00
Fix infinite password prompt loop on ssh-key import (#12569)
This commit is contained in:
parent
894dd2c896
commit
03d0957814
@ -208,6 +208,9 @@ export class AddEditComponent extends BaseAddEditComponent implements OnInit, On
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
password = await this.getSshKeyPassword();
|
password = await this.getSshKeyPassword();
|
||||||
|
if (password === "") {
|
||||||
|
return;
|
||||||
|
}
|
||||||
await this.importSshKeyFromClipboard(password);
|
await this.importSshKeyFromClipboard(password);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user