Hi All,
I am trying hard to find a way to change/override the default error messages during registration of a new user.
In IdentityConfig.vb, I have the following code:
This code implements the user and the password policy:
<removed for brevity>
manager.UserValidator = New UserValidator(Of ApplicationUser)(manager) With {
.AllowOnlyAlphanumericUserNames = False,
.RequireUniqueEmail = True
}
manager.PasswordValidator = New PasswordValidator() With {
.RequiredLength = 5,
.RequireNonLetterOrDigit = True,
.RequireDigit = False,
.RequireLowercase = True,
.RequireUppercase = False
}
<removed for brevity>
It would be nice if we could add something like .ErrorMessageText = "xxxxx" but this is not possible unfortunately.
When you try to make some mistakes during your registr ...
Go to the complete details ...