Skip to content

Commit 0213dc3

Browse files
author
Me No Dev
committed
Skip authentication when password is empty
should have been changed when turned in String
1 parent 18f0a99 commit 0213dc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ArduinoOTA/ArduinoOTA.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void ArduinoOTAClass::handle() {
199199
#endif
200200

201201
_udp_ota.beginPacket(_ota_ip, _udp_ota.remotePort());
202-
if (_password){
202+
if (_password.length()){
203203
MD5Builder nonce_md5;
204204
nonce_md5.begin();
205205
nonce_md5.add(String(micros()));

0 commit comments

Comments
 (0)