[Modify] Replace it

This commit is contained in:
sta 2016-04-27 15:29:37 +09:00
parent baadd72558
commit f0dabbc957

View File

@ -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);