Fix transport authentication configuration
This commit is contained in:
parent
7b12d720f3
commit
c4343b6ecb
@ -405,8 +405,10 @@ void JsonRPCServer::registerTransportInterface(TransportInterface *interface, bo
|
|||||||
connect(interface, &TransportInterface::clientConnected, this, &JsonRPCServer::clientConnected);
|
connect(interface, &TransportInterface::clientConnected, this, &JsonRPCServer::clientConnected);
|
||||||
connect(interface, &TransportInterface::clientDisconnected, this, &JsonRPCServer::clientDisconnected);
|
connect(interface, &TransportInterface::clientDisconnected, this, &JsonRPCServer::clientDisconnected);
|
||||||
connect(interface, &TransportInterface::dataAvailable, this, &JsonRPCServer::processData);
|
connect(interface, &TransportInterface::dataAvailable, this, &JsonRPCServer::processData);
|
||||||
|
m_interfaces.insert(interface, authenticationRequired);
|
||||||
|
} else {
|
||||||
|
m_interfaces[interface] = authenticationRequired;
|
||||||
}
|
}
|
||||||
m_interfaces[interface] = authenticationRequired;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void JsonRPCServer::unregisterTransportInterface(TransportInterface *interface)
|
void JsonRPCServer::unregisterTransportInterface(TransportInterface *interface)
|
||||||
|
|||||||
Reference in New Issue
Block a user