Fix obsolete warning message (#1363)

Fixes the messaged shown to developers when they are updating their applications to 2.0. Bad idea to set the domain with some random naming text.
This commit is contained in:
Poul Kjeldager Sørensen 2017-08-14 20:07:19 +02:00 committed by Nate McMaster
parent b43ffc4acc
commit 488eb44467
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ namespace Microsoft.AspNetCore.Authentication.Cookies
/// system uses the cookie authentication handler multiple times.
/// </para>
/// </summary>
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.Domain) + ".")]
[Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is " + nameof(Cookie) + "." + nameof(CookieBuilder.Name) + ".")]
public string CookieName { get => Cookie.Name; set => Cookie.Name = value; }
/// <summary>