0
OriAssurant created
I am trying to create an user with email id <a href="mailto:[email protected]">[email protected]</a> but Abp throws an error saying User name <a href="mailto:[email protected]">[email protected]</a> is invalid, can only contain letters or digits.
How can we allow '-' in the emails ? As now most of the companies uses such kind of email format!
4 Answer(s)
-
0
please specify your project type (MVC or Core / AngularJS or Angular the latest)
-
0
-
0
I got it worked now. We are using angular mvc
I used this in UserManager.cs
this.UserValidator = new UserValidator<User, long>(this) { AllowOnlyAlphanumericUserNames = false };
-
0
good to hear that ;) and thanks for your feedback