1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-11 00:31:45 +01:00

Disable ssh agent for organization items (#12240)

This commit is contained in:
Bernd Schoolmann 2024-12-05 11:53:30 +01:00 committed by GitHub
parent 773aba4fef
commit 816bf70dc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,7 +198,10 @@ export class SshAgentService implements OnDestroy {
}
const sshCiphers = ciphers.filter(
(cipher) => cipher.type === CipherType.SshKey && !cipher.isDeleted,
(cipher) =>
cipher.type === CipherType.SshKey &&
!cipher.isDeleted &&
cipher.organizationId === null,
);
const keys = sshCiphers.map((cipher) => {
return {