fix password length checks (#3884)

unit testing when
This commit is contained in:
skwerlman 2020-01-13 09:54:55 -05:00 committed by Zach H
parent 8fb0baa449
commit 0ff7472ce5

View file

@ -1795,5 +1795,5 @@ void WebsocketServerSocketInterface::binaryMessageReceived(const QByteArray &mes
bool AbstractServerSocketInterface::isPasswordLongEnough(const int passwordLength)
{
return passwordLength < servatrice->getMinPasswordLength();
return passwordLength >= servatrice->getMinPasswordLength();
}