6 references to SetTwoFactorEnabledAsync
Microsoft.AspNetCore.Identity.UI (6)
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (1)
74var disable2faResult = await _userManager.SetTwoFactorEnabledAsync(user, false);
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
143await _userManager.SetTwoFactorEnabledAsync(user, true);
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (1)
72await _userManager.SetTwoFactorEnabledAsync(user, false);
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (1)
74var disable2faResult = await _userManager.SetTwoFactorEnabledAsync(user, false);
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
143await _userManager.SetTwoFactorEnabledAsync(user, true);
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (1)
72await _userManager.SetTwoFactorEnabledAsync(user, false);