1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

PM-18337: Fresh account registration without key throws error, unable to login (#13425)

This commit is contained in:
Maciej Zieniuk
2025-02-19 22:03:20 +01:00
committed by GitHub
parent 04f5fe4da4
commit 8912fe8187

View File

@@ -430,7 +430,7 @@ export class CipherService implements CipherServiceAbstraction {
if (keys == null || (keys.userKey == null && Object.keys(keys.orgKeys).length === 0)) {
// return early if there are no keys to decrypt with
return;
return [[], []];
}
// Group ciphers by orgId or under 'null' for the user's ciphers