kopia lustrzana https://gitlab.com/eliggett/wfview
Bit of tidying
rodzic
620d7890cd
commit
2c1272de66
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue