Skip to content

Commit

Permalink
Merge pull request #10009 from abpframework/IsEssential
Browse files Browse the repository at this point in the history
Bypass the cookie consent policy check.
  • Loading branch information
realLiangshiwei committed Sep 13, 2021
2 parents bf4c9d3 + a22155c commit 92143a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public static class AbpMultiTenancyCookieHelper
{
Path = "/",
HttpOnly = false,
IsEssential = true,
Expires = DateTimeOffset.Now.AddYears(10)
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static class AbpRequestCultureCookieHelper
CookieRequestCultureProvider.MakeCookieValue(requestCulture),
new CookieOptions
{
IsEssential = true,
Expires = DateTime.Now.AddYears(2)
}
);
Expand Down

0 comments on commit 92143a6

Please sign in to comment.