rename admin password to su password

This commit is contained in:
proddy
2020-10-25 18:32:52 +01:00
parent 79622dbc2b
commit b10e731198

View File

@@ -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];