React to WebListener AllowAnonymous API change.
This commit is contained in:
parent
1ba6608d90
commit
6ae610e8bc
|
|
@ -32,6 +32,7 @@ namespace MusicStore
|
||||||
builder.UseWebListener(options =>
|
builder.UseWebListener(options =>
|
||||||
{
|
{
|
||||||
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
|
options.Listener.AuthenticationManager.AuthenticationSchemes = AuthenticationSchemes.NTLM;
|
||||||
|
options.Listener.AuthenticationManager.AllowAnonymous = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue