2 references to ResetRecoveryCodes
Microsoft.AspNetCore.Identity (2)
Data\TwoFactorResponse.cs (1)
25
/// <see cref="TwoFactorRequest.
ResetRecoveryCodes
"/> was set or two-factor was enabled for the first time.
IdentityApiEndpointRouteBuilderExtensions.cs (1)
303
if (tfaRequest.
ResetRecoveryCodes
|| (tfaRequest.Enable == true && await userManager.CountRecoveryCodesAsync(user) == 0))