mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-25 07:12:40 +00:00
Fixed: Give a unique name to the cookie
This commit is contained in:
parent
30670442b6
commit
aac23d4887
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 = "LidarrAuth";
|
||||
options.AccessDeniedPath = "/login?loginFailed=true";
|
||||
options.LoginPath = "/login";
|
||||
options.ExpireTimeSpan = TimeSpan.FromDays(7);
|
||||
|
|
Loading…
Reference in a new issue