Update DefaultAntiforgeryTokenStore.cs (#106)

Corrected comment typo
This commit is contained in:
chris2093 2016-10-19 07:54:52 -07:00 committed by Ryan Nowak
parent 371af136d3
commit 72bc9c0f2c
1 changed files with 2 additions and 2 deletions

View File

@ -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;
@ -82,4 +82,4 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
httpContext.Response.Cookies.Append(_options.CookieName, token, options);
}
}
}
}