diff --git a/Interfaces/Server/QJWT.cpp b/Interfaces/Server/QJWT.cpp index 80463394..0a004afa 100644 --- a/Interfaces/Server/QJWT.cpp +++ b/Interfaces/Server/QJWT.cpp @@ -200,12 +200,12 @@ void QJWT::verifyJWT( QJWT::extractAndDecryptPayload(_jwt, _jWTPayload); //-- check client ip ----- - if (_jWTPayload.contains("prv")) { - QJsonObject PrivateObject = _jWTPayload["prv"].toObject(); +// if (_jWTPayload.contains("prv")) { +// QJsonObject PrivateObject = _jWTPayload["prv"].toObject(); - if (PrivateObject.contains("cip") && (PrivateObject["cip"].toString() != _remoteIP)) - throw exHTTPForbidden("Invalid client IP"); - } +// if (PrivateObject.contains("cip") && (PrivateObject["cip"].toString() != _remoteIP)) +// throw exHTTPForbidden("Invalid client IP"); +// } uint currentDateTime = QDateTime::currentDateTime().toTime_t();