From c4661e0410d31ff557b5d8bdb5e48582e6d7991a Mon Sep 17 00:00:00 2001 From: Scott Addie Date: Wed, 27 Sep 2017 11:09:37 -0500 Subject: [PATCH] Add missing param to AddCookie call --- aspnetcore/security/authentication/cookie.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/security/authentication/cookie.md b/aspnetcore/security/authentication/cookie.md index 5772966185..c1b718a3b2 100644 --- a/aspnetcore/security/authentication/cookie.md +++ b/aspnetcore/security/authentication/cookie.md @@ -173,7 +173,7 @@ This would then be wired up during cookie service registration in the `Configure ```csharp services.AddAuthentication("MyCookieAuthenticationScheme") - .AddCookie(options => + .AddCookie("MyCookieAuthenticationScheme", options => { options.Events = new CookieAuthenticationEvents {