Open p10tyr opened 9 years ago
I checked the source code.. its not your fault.
It is the ASP UserManger causing hell. Use this line when adding a new user then will work as normal throughout the project. (You can get that username without setting the validitor, I mean.)
UserManager.UserValidator = new UserValidator<Models.ApplicationUser>(UserManager) { AllowOnlyAlphanumericUserNames = false };
Why is it not allowed to use a dash "-" in the username?
Exception
When I go into RavenDB management panel, I can change the Key manually to include the "-" and the username is just a string.