[Modify] Replace it

master
sta 5 years ago
parent 332801e794
commit 5daaff6ab7

@ -203,7 +203,9 @@ namespace WebSocketSharp.Net
return true; return true;
if (schm == AuthenticationSchemes.None) { if (schm == AuthenticationSchemes.None) {
_response.Close (HttpStatusCode.Forbidden); _errorStatusCode = 403;
_errorMessage = "Authentication not allowed";
SendError ();
return false; return false;
} }

Loading…
Cancel
Save