1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-02-07 23:32:37 +00:00

Revert "core: fix login redirect with nginx + admin password. resolves #4765 (#6561)"

This reverts commit 642bed1ef4.
This commit is contained in:
Garfield69 2019-12-11 11:49:51 +13:00
parent 090ae2db08
commit d44bc93776

View file

@ -45,9 +45,9 @@ namespace Jackett.Server
.AddCookie(CookieAuthenticationDefaults.AuthenticationScheme,
options =>
{
options.LoginPath = new PathString(Helper.ServerService.BasePath() + "/UI/Login");
options.AccessDeniedPath = new PathString(Helper.ServerService.BasePath() + "/UI/Login");
options.LogoutPath = new PathString(Helper.ServerService.BasePath() + "/UI/Logout");
options.LoginPath = new PathString("/UI/Login");
options.AccessDeniedPath = new PathString("/UI/Login");
options.LogoutPath = new PathString("/UI/Logout");
options.Cookie.Name = "Jackett";
options.Cookie.SameSite = SameSiteMode.None;
});