I want to use the IAuthRepository in a non-Servicestack Application.
services.AddSingleton(c => new OrmLiteAuthRepository(c.Resolve()));
to add the repo to DI. My Problem is, when creating a user with an email as username, it is refused as invalid username. In an Servicestack app I can set “ValidUserNameRegEx” but how do I do this in a non-Servicestack app?`