Fixed: Give a unique name to the cookie

pull/2558/head
geogolem 3 years ago committed by Qstick
parent 30670442b6
commit aac23d4887

@ -29,6 +29,7 @@ namespace Lidarr.Http.Authentication
.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…
Cancel
Save