From dd80a645606d8bc183477d91bfdf56326229f1c1 Mon Sep 17 00:00:00 2001 From: geogolem Date: Sat, 13 Nov 2021 19:21:31 -0500 Subject: [PATCH] Lidarr, Radarr, and Prowlarr (maybe Readarr too) all use the same name for their Authentication cookies .AspNetCore.Forms Sonarr uses a different name "SonarrAuth" this commit makes Radarr use "RadarrAuth"... similar changes should likely be ported to Lidarr, Prowlarr (and possibly Readarr) --- .../Authentication/AuthenticationBuilderExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Radarr.Http/Authentication/AuthenticationBuilderExtensions.cs b/src/Radarr.Http/Authentication/AuthenticationBuilderExtensions.cs index 6ae076051..4ad49f797 100644 --- a/src/Radarr.Http/Authentication/AuthenticationBuilderExtensions.cs +++ b/src/Radarr.Http/Authentication/AuthenticationBuilderExtensions.cs @@ -29,6 +29,7 @@ namespace Radarr.Http.Authentication .AddBasic(AuthenticationType.Basic.ToString()) .AddCookie(AuthenticationType.Forms.ToString(), options => { + options.Cookie.Name = "RadarrAuth"; options.AccessDeniedPath = "/login?loginFailed=true"; options.LoginPath = "/login"; options.ExpireTimeSpan = TimeSpan.FromDays(7);