Родитель
371af136d3
Коммит
72bc9c0f2c
|
@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
|
|||
options.HttpOnly = true;
|
||||
options.Path = httpContext.Request.PathBase;
|
||||
// Note: don't use "newCookie.Secure = _options.RequireSSL;" since the default
|
||||
// value of newCookie.Secure is poulated out of band.
|
||||
// value of newCookie.Secure is populated out of band.
|
||||
if (_options.RequireSsl)
|
||||
{
|
||||
options.Secure = true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче