Fix transport authentication configuration

pull/135/head
Simon Stürz 2018-08-23 10:08:45 +02:00 committed by Michael Zanetti
parent 7b12d720f3
commit c4343b6ecb
1 changed files with 3 additions and 1 deletions

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)