Merge branch 'release' into dev

This commit is contained in:
Kiran Challa 2016-04-08 15:05:19 -07:00
commit 64653cfa3c
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ namespace Microsoft.AspNetCore.Antiforgery.Internal
identity.AddClaim(new Claim(ClaimTypes.Email, "someone@antifrogery.com"));
identity.AddClaim(new Claim(ClaimTypes.GivenName, "some"));
identity.AddClaim(new Claim(ClaimTypes.Surname, "one"));
#if DNX451
#if NET451
// CoreCLR doesn't support an 'empty' name
identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, string.Empty));
#endif