Skip to content

Commit

Permalink
Fixes #757 (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdriscoll authored Sep 24, 2019
1 parent bac3a86 commit 38b0387
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/UniversalDashboard/Server/ServerStartup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public void ConfigureServices(IServiceCollection services)
options.Cookie.HttpOnly = true;
options.Cookie.SecurePolicy = CookieSecurePolicy.SameAsRequest;
});

var serviceDescriptor = services.FirstOrDefault(descriptor => descriptor.ServiceType.Name == "IRegistryPolicyResolver");
services.Remove(serviceDescriptor);
}

public void Configure(IApplicationBuilder app, Microsoft.AspNetCore.Hosting.IHostingEnvironment env, ILoggerFactory loggerFactory, Microsoft.AspNetCore.Hosting.IApplicationLifetime lifetime)
Expand Down

0 comments on commit 38b0387

Please sign in to comment.