[Modify] Replace it
This commit is contained in:
parent
baadd72558
commit
f0dabbc957
@ -706,8 +706,7 @@ namespace WebSocketSharp.Server
|
||||
state => {
|
||||
try {
|
||||
var ctx = cl.GetWebSocketContext (null, _secure, _sslConfig, _logger);
|
||||
if (_authSchemes != AuthenticationSchemes.Anonymous &&
|
||||
!authenticate (ctx, _authSchemes, getRealm (), UserCredentialsFinder))
|
||||
if (!authenticate (ctx))
|
||||
return;
|
||||
|
||||
processRequest (ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user