mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-26 09:44:38 +00:00
Fixed: Make authentication cookie name unique to Readarr
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user