fix MQTT x509 auth

This commit is contained in:
YevhenBondarenko 2020-11-19 11:40:44 +02:00 committed by Andrew Shvayka
parent 0fb1147ab2
commit 39eafde85b

View File

@ -178,6 +178,8 @@ public class DefaultTransportApiService implements TransportApiService {
if (!checkMqttCredentials(mqtt, credentials)) { if (!checkMqttCredentials(mqtt, credentials)) {
credentials = null; credentials = null;
} }
} else {
return getEmptyTransportApiResponseFuture();
} }
} }
if (credentials == null) { if (credentials == null) {