From aaef8fb29c720c0af5631732d7ad644fcce5ab18 Mon Sep 17 00:00:00 2001 From: ta264 Date: Sun, 20 Feb 2022 21:38:07 +0000 Subject: [PATCH] Fixed: Make authentication cookie name unique to Prowlarr --- .../Authentication/AuthenticationBuilderExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs b/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs index d193dd965..0d0d0918f 100644 --- a/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs +++ b/src/Prowlarr.Http/Authentication/AuthenticationBuilderExtensions.cs @@ -29,6 +29,7 @@ namespace Prowlarr.Http.Authentication .AddBasic(AuthenticationType.Basic.ToString()) .AddCookie(AuthenticationType.Forms.ToString(), options => { + options.Cookie.Name = "ProwlarrAuth"; options.AccessDeniedPath = "/login?loginFailed=true"; options.LoginPath = "/login"; options.ExpireTimeSpan = TimeSpan.FromDays(7);