Update DefaultAntiforgeryTokenStore.cs (#106)

Corrected comment typo
This commit is contained in:
chris2093 2016-10-19 07:54:52 -07:00 коммит произвёл Ryan Nowak
Родитель 371af136d3
Коммит 72bc9c0f2c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
options.HttpOnly = true; options.HttpOnly = true;
options.Path = httpContext.Request.PathBase; options.Path = httpContext.Request.PathBase;
// Note: don't use "newCookie.Secure = _options.RequireSSL;" since the default // 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) if (_options.RequireSsl)
{ {
options.Secure = true; options.Secure = true;
@ -82,4 +82,4 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
httpContext.Response.Cookies.Append(_options.CookieName, token, options); httpContext.Response.Cookies.Append(_options.CookieName, token, options);
} }
} }
} }