We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93342c7 commit fdc8822Copy full SHA for fdc8822
src/Identity/Core/src/SignInManager.cs
@@ -129,7 +129,7 @@ public virtual bool IsSignedIn(ClaimsPrincipal principal)
129
{
130
throw new ArgumentNullException(nameof(principal));
131
}
132
- return principal?.Identities != null &&
+ return principal.Identities != null &&
133
principal.Identities.Any(i => i.AuthenticationType == IdentityConstants.ApplicationScheme);
134
135
0 commit comments