[Modify] Polish it
This commit is contained in:
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…
Reference in New Issue
Block a user