Remove cipher check that is done on server side

This commit is contained in:
Bernd Schoolmann 2024-05-17 17:16:21 +02:00
parent 89c6540f16
commit 292d516088
No known key found for this signature in database
1 changed files with 0 additions and 9 deletions

View File

@ -57,15 +57,6 @@ export class UserKeyRotationService {
);
}
if (
(await this.cipherService.getAllDecrypted()).length === 0 &&
(await this.cipherService.getAll()).length > 0
) {
throw new Error(
"The local vaults could not be decrypted and the keys cannot be rotated. Please log out and log back in to resolve this issue.",
);
}
// Create master key to validate the master password
const masterKey = await this.cryptoService.makeMasterKey(
masterPassword,