mirror of
https://github.com/Readarr/Readarr
synced 2026-01-14 03:23:30 +01:00
Fixed: Make authentication cookie name unique to Readarr
This commit is contained in:
parent
a40cce9c71
commit
a677098f0f
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 = "ReadarrAuth";
|
||||
options.AccessDeniedPath = "/login?loginFailed=true";
|
||||
options.LoginPath = "/login";
|
||||
options.ExpireTimeSpan = TimeSpan.FromDays(7);
|
||||
|
|
|
|||
Loading…
Reference in a new issue