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