Fix transport authentication configuration

This commit is contained in:
Simon Stürz 2018-08-23 10:08:45 +02:00 committed by Michael Zanetti
parent 7b12d720f3
commit c4343b6ecb

View File

@ -405,8 +405,10 @@ void JsonRPCServer::registerTransportInterface(TransportInterface *interface, bo
connect(interface, &TransportInterface::clientConnected, this, &JsonRPCServer::clientConnected);
connect(interface, &TransportInterface::clientDisconnected, this, &JsonRPCServer::clientDisconnected);
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)