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