6 references to NewEmail
Microsoft.AspNetCore.Identity (6)
IdentityApiEndpointRouteBuilderExtensions.cs (6)
357if (!string.IsNullOrEmpty(infoRequest.NewEmail) && !_emailAddressAttribute.IsValid(infoRequest.NewEmail)) 359return CreateValidationProblem(IdentityResult.Failed(userManager.ErrorDescriber.InvalidEmail(infoRequest.NewEmail))); 377if (!string.IsNullOrEmpty(infoRequest.NewEmail)) 381if (email != infoRequest.NewEmail) 383await SendConfirmationEmailAsync(user, userManager, context, infoRequest.NewEmail, isChange: true);