From fae0729152ff1db8c4fd25c0c7a667bb3b76962e Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 5 Oct 2022 08:28:03 -0500 Subject: disable API key auth --- src/slskd/Program.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/slskd/Program.cs') diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index fd80d649..c9417ed8 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -612,13 +612,13 @@ namespace slskd }; }); - services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme) - .AddScheme(ApiKeyAuthentication.AuthenticationScheme, options => - { - options.EnableSignalRSupport = true; - options.SignalRRoutePrefix = "/hub"; - options.Role = Role.Administrator; - }); + //services.AddAuthentication(ApiKeyAuthentication.AuthenticationScheme) + // .AddScheme(ApiKeyAuthentication.AuthenticationScheme, options => + // { + // options.EnableSignalRSupport = true; + // options.SignalRRoutePrefix = "/hub"; + // options.Role = Role.Administrator; + // }); } else { -- cgit v1.2.3