1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01: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);