Use HandleAuthenticateOnceSafeAsync in Cookie auth

This commit is contained in:
Troy Dai 2016-08-05 15:27:37 -07:00
parent 926c7fab4b
commit a344684d06
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ namespace Microsoft.AspNetCore.Authentication.Cookies
}
// REVIEW: Should this check if there was an error, and then if that error was already handled??
var ticket = (await HandleAuthenticateOnceAsync())?.Ticket;
var ticket = (await HandleAuthenticateOnceSafeAsync())?.Ticket;
if (ticket != null)
{
if (_refreshIssuedUtc.HasValue)