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)
This commit is contained in:
geogolem 2021-11-13 19:21:31 -05:00 committed by Qstick
parent beb22844c9
commit dd80a64560
1 changed files with 1 additions and 0 deletions

View File

@ -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);