Work for unban

This commit is contained in:
defnotken
2025-08-31 14:58:27 -05:00
parent 80235a174b
commit 421447329f
11 changed files with 2399 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ public class Startup
services.AddControllers().ConfigureApplicationPartManager(a =>
{
a.FeatureProviders.Remove(a.FeatureProviders.OfType<ControllerFeatureProvider>().First());
a.FeatureProviders.Add(new AllowedControllersFeatureProvider(typeof(JwtController), typeof(OAuthController)));
a.FeatureProviders.Add(new AllowedControllersFeatureProvider(typeof(JwtController), typeof(OAuthController), typeof(UserController)));
});
}