feat(admincli): add command for creating a user
This commit is contained in:
@@ -5,6 +5,7 @@ public static class ServiceCollectionExtensions
|
||||
public static IServiceCollection AddInfrastructure(this IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton(TimeProvider.System);
|
||||
services.ConfigureOptions<JwtOptionsSetup>();
|
||||
services.AddSingleton<ITokenGenerator, TokenGenerator>(TokenGenerator.From);
|
||||
services.AddSingleton<IPasswordHasher, PasswordHasher>(PasswordHasher.From);
|
||||
services.ConfigureOptions<AppDbContextOptionsSetup>();
|
||||
|
||||
Reference in New Issue
Block a user