Skip to content

Commit

Permalink
mathieucarbou/ESPAsyncWebServer @ 3.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Oct 2, 2024
1 parent 336327d commit 72dcf60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/ESPDASHPro
2 changes: 1 addition & 1 deletion lib/WebSerialPro
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ lib_deps =
olikraus/U8g2 @ 2.35.27
robtillaart/CRC @ 1.0.3
mathieucarbou/AsyncTCP @ 3.2.6
mathieucarbou/ESPAsyncWebServer @ 3.3.8
mathieucarbou/ESPAsyncWebServer @ 3.3.10
mathieucarbou/MycilaConfig @ 3.1.0
mathieucarbou/MycilaDS18 @ 4.1.0
mathieucarbou/MycilaESPConnect @ 6.0.1
Expand Down
6 changes: 3 additions & 3 deletions src/Website.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ void YaSolR::WebsiteClass::initLayout() {
_numConfig(_relay1Load, KEY_RELAY1_LOAD);
_numConfig(_relay2Load, KEY_RELAY2_LOAD);
_textConfig(_displayType, KEY_DISPLAY_TYPE);
_numConfig(_output1ResistanceInput, KEY_OUTPUT1_RESISTANCE);
_numConfig(_output2ResistanceInput, KEY_OUTPUT2_RESISTANCE);
_floatConfig(_output1ResistanceInput, KEY_OUTPUT1_RESISTANCE);
_floatConfig(_output2ResistanceInput, KEY_OUTPUT2_RESISTANCE);
_textConfig(_output1RelayType, KEY_OUTPUT1_RELAY_TYPE);
_textConfig(_output2RelayType, KEY_OUTPUT2_RELAY_TYPE);
_textConfig(_relay1Type, KEY_RELAY1_TYPE);
Expand Down Expand Up @@ -1076,7 +1076,7 @@ void YaSolR::WebsiteClass::_passwordConfig(Card& card, const char* key) {
card.attachCallback([key, &card, this](const char* value) {
if (strlen(value) == 0) {
config.unset(key);
} else if (strlen(value) >= 8) {
} else {
config.set(key, value);
}
card.update(config.get(key).isEmpty() ? "" : HIDDEN_PWD);
Expand Down

0 comments on commit 72dcf60

Please sign in to comment.