1
0
mirror of https://github.com/bitwarden/server synced 2025-12-30 15:14:02 +00:00

async fix

This commit is contained in:
Kyle Spearrin
2017-07-06 16:58:26 -04:00
parent 295d6510a9
commit 12af24e5f8

View File

@@ -29,7 +29,7 @@ namespace Bit.Core.Identity
{
if(!user.Premium)
{
return Task.FromResult<string>(null);
return null;
}
var provider = user.GetTwoFactorProvider(TwoFactorProviderType.Duo);