diff --git a/src/CHANGES.md b/src/CHANGES.md index 776af866..d3295e71 100644 --- a/src/CHANGES.md +++ b/src/CHANGES.md @@ -4,6 +4,7 @@ * fix reset ticker #1754 * disable MqTT second and minute ticker on network loss * converted many `std::bind` to its lambda pendant +* fix redirect after login ## 0.8.145 - 2024-09-22 * fix NTP related issues #1748 #1752 diff --git a/src/web/web.h b/src/web/web.h index 8ac18d9a..4a2544fd 100644 --- a/src/web/web.h +++ b/src/web/web.h @@ -339,7 +339,7 @@ class Web { if (request->args() > 0) { if (String(request->arg("pwd")) == String(mConfig->sys.adminPwd)) { mApp->unlock(request->client()->remoteIP().toString().c_str(), true); - request->redirect("/"); + request->redirect("/index"); } }