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:
parent
b43ffc4acc
commit
488eb44467
|
|
@ -161,7 +161,7 @@ namespace Microsoft.AspNetCore.Authentication.Cookies
|
||||||
/// system uses the cookie authentication handler multiple times.
|
/// system uses the cookie authentication handler multiple times.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </summary>
|
/// </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; }
|
public string CookieName { get => Cookie.Name; set => Cookie.Name = value; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue