mirror of
https://github.com/esphome/esphome.git
synced 2025-09-30 09:02:17 +01:00
fix existing code tidy is comlpaining about
This commit is contained in:
@@ -45,8 +45,8 @@ void CaptivePortal::handle_config(AsyncWebServerRequest *request) {
|
|||||||
request->send(stream);
|
request->send(stream);
|
||||||
}
|
}
|
||||||
void CaptivePortal::handle_wifisave(AsyncWebServerRequest *request) {
|
void CaptivePortal::handle_wifisave(AsyncWebServerRequest *request) {
|
||||||
std::string ssid = request->arg("ssid").c_str();
|
std::string ssid = request->arg("ssid");
|
||||||
std::string psk = request->arg("psk").c_str();
|
std::string psk = request->arg("psk");
|
||||||
ESP_LOGI(TAG, "Requested WiFi Settings Change:");
|
ESP_LOGI(TAG, "Requested WiFi Settings Change:");
|
||||||
ESP_LOGI(TAG, " SSID='%s'", ssid.c_str());
|
ESP_LOGI(TAG, " SSID='%s'", ssid.c_str());
|
||||||
ESP_LOGI(TAG, " Password=" LOG_SECRET("'%s'"), psk.c_str());
|
ESP_LOGI(TAG, " Password=" LOG_SECRET("'%s'"), psk.c_str());
|
||||||
|
Reference in New Issue
Block a user