Fixed: Make authentication cookie name unique to Readarr

pull/1539/head
ta264 2 years ago
parent a40cce9c71
commit a677098f0f

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

Loading…
Cancel
Save