Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Commit

Permalink
Update DefaultAntiforgeryTokenStore.cs (#106)
Browse files Browse the repository at this point in the history
Corrected comment typo
  • Loading branch information
chris2093 authored and rynowak committed Oct 19, 2016
1 parent 371af13 commit 72bc9c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void SaveCookieToken(HttpContext httpContext, string token)
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;
Expand All @@ -82,4 +82,4 @@ public void SaveCookieToken(HttpContext httpContext, string token)
httpContext.Response.Cookies.Append(_options.CookieName, token, options);
}
}
}
}

0 comments on commit 72bc9c0

Please sign in to comment.