4 references to CountRecoveryCodesAsync
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (1)
149if (await _userManager.CountRecoveryCodesAsync(user) == 0)
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
87RecoveryCodesLeft = await _userManager.CountRecoveryCodesAsync(user);
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (1)
149if (await _userManager.CountRecoveryCodesAsync(user) == 0)
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
87RecoveryCodesLeft = await _userManager.CountRecoveryCodesAsync(user);