diff --git a/src/Core/Services/CipherService.cs b/src/Core/Services/CipherService.cs index 89003249d..d04479045 100644 --- a/src/Core/Services/CipherService.cs +++ b/src/Core/Services/CipherService.cs @@ -249,8 +249,7 @@ namespace Bit.Core.Services { try { - var hashKey = await _cryptoService.HasUserKeyAsync(); - if (!hashKey) + if (!await _cryptoService.HasUserKeyAsync()) { throw new Exception("No key."); }