[Modify] Polish it
This commit is contained in:
parent
bfbc42097e
commit
b3cb11fc64
@ -806,8 +806,7 @@ namespace WebSocketSharp.Net
|
||||
if (basicId.Password != cred.Password)
|
||||
return null;
|
||||
}
|
||||
|
||||
if (scheme == AuthenticationSchemes.Digest) {
|
||||
else {
|
||||
var digestId = (HttpDigestIdentity) id;
|
||||
if (!digestId.IsValid (cred.Password, realm, method, null))
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user