mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
rename admin password to su password
This commit is contained in:
@@ -542,7 +542,7 @@ void System::console_commands(Shell & shell, unsigned int context) {
|
|||||||
return StateUpdateResult::CHANGED;
|
return StateUpdateResult::CHANGED;
|
||||||
},
|
},
|
||||||
"local");
|
"local");
|
||||||
shell.println(F("Admin password updated"));
|
shell.println(F("su password updated"));
|
||||||
} else {
|
} else {
|
||||||
shell.println(F("Passwords do not match"));
|
shell.println(F("Passwords do not match"));
|
||||||
}
|
}
|
||||||
@@ -847,7 +847,7 @@ bool System::check_upgrade() {
|
|||||||
// value and id are ignored
|
// value and id are ignored
|
||||||
bool System::command_info(const char * value, const int8_t id, JsonObject & json) {
|
bool System::command_info(const char * value, const int8_t id, JsonObject & json) {
|
||||||
#ifdef EMSESP_STANDALONE
|
#ifdef EMSESP_STANDALONE
|
||||||
json["test"] = "testing info command";
|
json["test"] = "testing system info command";
|
||||||
#else
|
#else
|
||||||
EMSESP::esp8266React.getWiFiSettingsService()->read([&](WiFiSettings & settings) {
|
EMSESP::esp8266React.getWiFiSettingsService()->read([&](WiFiSettings & settings) {
|
||||||
char s[7];
|
char s[7];
|
||||||
|
|||||||
Reference in New Issue
Block a user