Merge pull request from sethalves/dont-say-insufficient-data-during-login

don't send a login-denied packet when we're still waiting for user's public key
This commit is contained in:
Brad Hefta-Gaub 2016-08-20 13:48:10 -07:00 committed by GitHub
commit 857e97e979

View file

@ -509,9 +509,7 @@ bool DomainGatekeeper::verifyUserSignature(const QString& username,
}
} else {
if (!senderSockAddr.isNull()) {
qDebug() << "Insufficient data to decrypt username signature - denying connection.";
sendConnectionDeniedPacket("Insufficient data", senderSockAddr,
DomainHandler::ConnectionRefusedReason::LoginError);
qDebug() << "Insufficient data to decrypt username signature - delaying connection.";
}
}