diff --git a/src/net/rpc.rs b/src/net/rpc.rs index ebe0763f..bcf3158c 100644 --- a/src/net/rpc.rs +++ b/src/net/rpc.rs @@ -208,7 +208,6 @@ impl Rpc { _ => return res::failure(id, Failure::INVALID_PARAMS).send(out, chn).await, }, "authenticate" => match params.take_one() { - Value::None => rpc.write().await.invalidate().await, Value::Strand(v) => rpc.write().await.authenticate(v).await, // Authenticate using an authentication token _ => return res::failure(id, Failure::INVALID_PARAMS).send(out, chn).await,