mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
Fixed: Make authentication cookie name unique to Prowlarr
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user