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
Post a Comment