Fixed: Make authentication cookie name unique to Prowlarr

pull/856/head
ta264 3 years ago
parent b2e300b6da
commit aaef8fb29c

@ -29,6 +29,7 @@ namespace Prowlarr.Http.Authentication
.AddBasic(AuthenticationType.Basic.ToString())
.AddCookie(AuthenticationType.Forms.ToString(), options =>
{
options.Cookie.Name = "ProwlarrAuth";
options.AccessDeniedPath = "/login?loginFailed=true";
options.LoginPath = "/login";
options.ExpireTimeSpan = TimeSpan.FromDays(7);

Loading…
Cancel
Save