[Modify] Polish it

master
sta 10 years ago
parent 7e33636276
commit 11323ed894

@ -174,7 +174,7 @@ namespace WebSocketSharp.Net
if (schm == AuthenticationSchemes.Anonymous) if (schm == AuthenticationSchemes.Anonymous)
return true; return true;
if (schm != AuthenticationSchemes.Basic && schm != AuthenticationSchemes.Digest) { if (schm == AuthenticationSchemes.None) {
_response.Close (HttpStatusCode.Forbidden); _response.Close (HttpStatusCode.Forbidden);
return false; return false;
} }

Loading…
Cancel
Save