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