Update AntiForgery Token Cookie Option to HTTPOnly = true;
This commit is contained in:
parent
ffa0ca9379
commit
4bdf2e1cc0
|
@ -100,6 +100,7 @@ namespace Oqtane
|
|||
options.Cookie.Name = Constants.AntiForgeryTokenCookieName;
|
||||
options.Cookie.SameSite = SameSiteMode.Strict;
|
||||
options.Cookie.SecurePolicy = CookieSecurePolicy.SameAsRequest;
|
||||
options.Cookie.HttpOnly = true;
|
||||
});
|
||||
|
||||
services.AddIdentityCore<IdentityUser>(options => { })
|
||||
|
|
Loading…
Reference in New Issue
Block a user