mirror of
https://github.com/Radarr/Radarr
synced 2025-02-23 23:01:10 +00:00
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:
parent
beb22844c9
commit
dd80a64560
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ public static AuthenticationBuilder AddAppAuthentication(this IServiceCollection
|
|||
.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);
|
||||
|
|
Loading…
Reference in a new issue