1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 06:23:38 +00:00

Disable ssh agent for organization items (#12240)

(cherry picked from commit 816bf70dc0)
This commit is contained in:
Bernd Schoolmann
2024-12-05 11:53:30 +01:00
parent 005ad52452
commit 8c6ee1bd50

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 {