Fix IList to IEnumerable change.
This commit is contained in:
parent
81c967dfa4
commit
fe0e5be913
|
|
@ -79,7 +79,7 @@ namespace Microsoft.AspNet.Server.WebListener
|
||||||
{
|
{
|
||||||
var authString = authType.ToString();
|
var authString = authType.ToString();
|
||||||
// Not including any auth types means it's a blanket challenge for any auth type.
|
// Not including any auth types means it's a blanket challenge for any auth type.
|
||||||
if (context.AuthenticationTypes == null || context.AuthenticationTypes.Count == 0
|
if (context.AuthenticationTypes == null || !context.AuthenticationTypes.Any()
|
||||||
|| context.AuthenticationTypes.Contains(authString, StringComparer.Ordinal))
|
|| context.AuthenticationTypes.Contains(authString, StringComparer.Ordinal))
|
||||||
{
|
{
|
||||||
_customChallenges |= authType;
|
_customChallenges |= authType;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue