I have one question. I\'m trying change error message in Identity ASP .NET and I don\'t know how do it. I want change error message - \"Login is already taken\". CreateAsync m
private void AddErrors(IdentityResult result) { foreach (var error in result.Errors) { if (error.StartsWith("Name")) { var NameToEmail= Regex.Replace(error,"Name","Email"); ModelState.AddModelError("", NameToEmail); } else { ModelState.AddModelError("", error); } } }