initialize authName on start

This commit is contained in:
technyon
2024-04-28 10:03:24 +02:00
parent afd4d68580
commit 9b1097159d
2 changed files with 4 additions and 0 deletions

View File

@@ -21,6 +21,8 @@ NetworkLock::NetworkLock(Network* network, Preferences* preferences, char* buffe
_configTopics.push_back(mqtt_topic_config_auto_lock);
_configTopics.push_back(mqtt_topic_config_single_lock);
memset(authName, 0, sizeof(authName));
_network->registerMqttReceiver(this);
}