merge-requests/7/head
Phil Taylor 2021-10-22 00:24:15 +01:00
rodzic 620d7890cd
commit 2c1272de66
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -272,13 +272,11 @@ void udpServer::controlReceived()
if (current->isAuthenticated) {
qInfo(logUdpServer()) << current->ipAddress.toString() << ": User " << current->user.username << " login OK";
sendLoginResponse(current, true);
}
else {
qInfo(logUdpServer()) << current->ipAddress.toString() << ": Incorrect username/password";
sendLoginResponse(current, false);
}
sendLoginResponse(current, current->isAuthenticated);
break;
}
case (CONNINFO_SIZE):