1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

Fix infinite password prompt loop on ssh-key import (#12569)

This commit is contained in:
Bernd Schoolmann
2024-12-31 14:56:23 +01:00
committed by GitHub
parent 894dd2c896
commit 03d0957814

View File

@@ -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;