React to changes in Antiforgery API

This commit is contained in:
Nate McMaster 2017-06-30 15:20:44 -07:00
parent bc86ea4e47
commit 873a2fe17f
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ namespace MvcSandbox
services.Insert(0, ServiceDescriptor.Singleton(
typeof(IConfigureOptions<AntiforgeryOptions>),
new ConfigureOptions<AntiforgeryOptions>(options => options.CookieName = "<choose a name>")));
new ConfigureOptions<AntiforgeryOptions>(options => options.Cookie.Name = "<choose a name>")));
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.