model view controller - Changing MVC username settings on registration form -


i'm developing application mvc. i'm trying register test user rui.martins username, can't. user name rui.martins invalid, can contain letters or digits. how can change restrictions?

i solved  public accountcontroller(usermanager<applicationuser> usermanager)         {             usermanager = usermanager;              usermanager.uservalidator = new uservalidator<applicationuser>(usermanager)             {                 **allowonlyalphanumericusernames = false**             };         } 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -