diff --git a/common/src/services/crypto.service.ts b/common/src/services/crypto.service.ts index 7fecf7fa..9434b698 100644 --- a/common/src/services/crypto.service.ts +++ b/common/src/services/crypto.service.ts @@ -337,7 +337,7 @@ export class CryptoService implements CryptoServiceAbstraction { } async hasEncKey(): Promise { - return await this.stateService.getDecryptedCryptoSymmetricKey() != null; + return await this.stateService.getEncryptedCryptoSymmetricKey() != null; } async clearKey(clearSecretStorage: boolean = true, userId?: string): Promise {