mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
PM-18337: Fresh account registration without key throws error, unable to login (#13425)
This commit is contained in:
@@ -430,7 +430,7 @@ export class CipherService implements CipherServiceAbstraction {
|
|||||||
|
|
||||||
if (keys == null || (keys.userKey == null && Object.keys(keys.orgKeys).length === 0)) {
|
if (keys == null || (keys.userKey == null && Object.keys(keys.orgKeys).length === 0)) {
|
||||||
// return early if there are no keys to decrypt with
|
// return early if there are no keys to decrypt with
|
||||||
return;
|
return [[], []];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Group ciphers by orgId or under 'null' for the user's ciphers
|
// Group ciphers by orgId or under 'null' for the user's ciphers
|
||||||
|
|||||||
Reference in New Issue
Block a user