[Modify] Polish it
This commit is contained in:
parent
ab29d4db4f
commit
f4d76318f6
@ -366,7 +366,7 @@ namespace WebSocketSharp.Net.WebSockets
|
||||
if (scheme == AuthenticationSchemes.Anonymous)
|
||||
return true;
|
||||
|
||||
if (scheme != AuthenticationSchemes.Basic && scheme != AuthenticationSchemes.Digest) {
|
||||
if (scheme == AuthenticationSchemes.None) {
|
||||
Close (HttpStatusCode.Forbidden);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user