2 references to _emailAddressAttribute
Microsoft.AspNetCore.Identity (2)
IdentityApiEndpointRouteBuilderExtensions.cs (2)
71
if (string.IsNullOrEmpty(email) || !
_emailAddressAttribute
.IsValid(email))
357
if (!string.IsNullOrEmpty(infoRequest.NewEmail) && !
_emailAddressAttribute
.IsValid(infoRequest.NewEmail))