From 12af24e5f881ea81671c713a8aa8c79b776da3a9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 6 Jul 2017 16:58:26 -0400 Subject: [PATCH] async fix --- src/Core/Identity/DuoTokenProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Identity/DuoTokenProvider.cs b/src/Core/Identity/DuoTokenProvider.cs index aa68bc730..d6b03c97b 100644 --- a/src/Core/Identity/DuoTokenProvider.cs +++ b/src/Core/Identity/DuoTokenProvider.cs @@ -29,7 +29,7 @@ namespace Bit.Core.Identity { if(!user.Premium) { - return Task.FromResult(null); + return null; } var provider = user.GetTwoFactorProvider(TwoFactorProviderType.Duo);