From 4c5c088607f509d40a7f53c337160de87e69caee Mon Sep 17 00:00:00 2001 From: lumapu Date: Mon, 23 Sep 2024 22:28:48 +0200 Subject: [PATCH] 0.8.146 * fix redirect after login --- src/CHANGES.md | 1 + src/web/web.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"); } }