Specify scheme

This commit is contained in:
Hao Kung 2017-07-07 12:13:17 -07:00 committed by Hao Kung
parent 2e2dc67978
commit 4c3e0b6721
1 changed files with 2 additions and 2 deletions

View File

@ -52,13 +52,13 @@ namespace TestSites
}
else
{
return context.ChallengeAsync();
return context.ChallengeAsync(IISDefaults.AuthenticationScheme);
}
}
if (context.Request.Path.Equals("/Forbidden"))
{
return context.ForbidAsync();
return context.ForbidAsync(IISDefaults.AuthenticationScheme);
}
if (context.Request.Path.Equals("/RestrictedNTLM"))