I'm using Thinktecture IdentityServer with MembershipReboot and i'm trying to find a way to override the default username validation of username.
my case is that I want to allow username to be email or not and not the same as the user email.
The username validation is configured in UserAccountService
, I can add validation but I Don't know how to remove them.
I'd simply like to remove the validatior UsernameDoesNotContainAtSign
and UsernameOnlyContainsLettersAndDigits
, and do that without any modification of MembershipReboot, through configuration or ?
Edit:
Related GitHub issues: