From 77beb04d27b193806eb694dcc14d67a9afa1d92b Mon Sep 17 00:00:00 2001
From: fvanroie <15969459+fvanroie@users.noreply.github.com>
Date: Sun, 2 May 2021 00:35:19 +0200
Subject: [PATCH] Cleanup factory reset webpage
---
src/sys/svc/hasp_http.cpp | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/sys/svc/hasp_http.cpp b/src/sys/svc/hasp_http.cpp
index 55409afd..244618b6 100644
--- a/src/sys/svc/hasp_http.cpp
+++ b/src/sys/svc/hasp_http.cpp
@@ -2021,18 +2021,14 @@ void httpHandleResetConfig()
} else {
httpMessage +=
F("
Warning
This process will reset all settings to the default values. The internal flash "
- "will "
- "be erased and the device is restarted. You may need to connect to the WiFi AP displayed on the "
- "panel to "
- "re-configure the device before accessing it again. ALL FILES WILL BE LOST!"
- "
"
- "
");
+ "will be erased and the device is restarted. You may need to connect to the WiFi AP displayed on the "
+ "panel to re-configure the device before accessing it again. ALL FILES WILL BE LOST!"
+ "
");
}
webSendPage(haspDevice.get_hostname(), httpMessage.length(), resetConfirmed);