diff --git a/MyApp/Configure.Auth.cs b/MyApp/Configure.Auth.cs index a8ac18d..372f1a4 100644 --- a/MyApp/Configure.Auth.cs +++ b/MyApp/Configure.Auth.cs @@ -13,6 +13,7 @@ public void Configure(IWebHostBuilder builder) => builder appHost.Plugins.Add(new AuthFeature(IdentityAuth.For(options => { options.SessionFactory = () => new CustomUserSession(); options.CredentialsAuth(); + options.AdminUsersFeature(); }))); }); }