9 references to GetTwoFactorEnabledAsync
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
753await UserManager.GetTwoFactorEnabledAsync(user) &&
Microsoft.AspNetCore.Identity.UI (8)
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (1)
58if (!await _userManager.GetTwoFactorEnabledAsync(user))
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
66var isTwoFactorEnabled = await _userManager.GetTwoFactorEnabledAsync(user); 83var isTwoFactorEnabled = await _userManager.GetTwoFactorEnabledAsync(user);
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
85Is2faEnabled = await _userManager.GetTwoFactorEnabledAsync(user);
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (1)
58if (!await _userManager.GetTwoFactorEnabledAsync(user))
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
66var isTwoFactorEnabled = await _userManager.GetTwoFactorEnabledAsync(user); 83var isTwoFactorEnabled = await _userManager.GetTwoFactorEnabledAsync(user);
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
85Is2faEnabled = await _userManager.GetTwoFactorEnabledAsync(user);