Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit d632c6a

Browse files
committed
Merge branch 'haok/null' into dev
2 parents 85402d4 + 98eb311 commit d632c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.AspNetCore.Authentication.Core/AuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public virtual async Task<AuthenticateResult> AuthenticateAsync(HttpContext cont
6666
}
6767

6868
var result = await handler.AuthenticateAsync();
69-
if (result.Succeeded)
69+
if (result?.Succeeded)
7070
{
7171
var transformed = await Transform.TransformAsync(result.Principal);
7272
return AuthenticateResult.Success(new AuthenticationTicket(transformed, result.Properties, result.Ticket.AuthenticationScheme));

0 commit comments

Comments
 (0)