Browse Source

0.8.146

* fix redirect after login
pull/1759/head
lumapu 4 months ago
parent
commit
4c5c088607
  1. 1
      src/CHANGES.md
  2. 2
      src/web/web.h

1
src/CHANGES.md

@ -4,6 +4,7 @@
* fix reset ticker #1754 * fix reset ticker #1754
* disable MqTT second and minute ticker on network loss * disable MqTT second and minute ticker on network loss
* converted many `std::bind` to its lambda pendant * converted many `std::bind` to its lambda pendant
* fix redirect after login
## 0.8.145 - 2024-09-22 ## 0.8.145 - 2024-09-22
* fix NTP related issues #1748 #1752 * fix NTP related issues #1748 #1752

2
src/web/web.h

@ -339,7 +339,7 @@ class Web {
if (request->args() > 0) { if (request->args() > 0) {
if (String(request->arg("pwd")) == String(mConfig->sys.adminPwd)) { if (String(request->arg("pwd")) == String(mConfig->sys.adminPwd)) {
mApp->unlock(request->client()->remoteIP().toString().c_str(), true); mApp->unlock(request->client()->remoteIP().toString().c_str(), true);
request->redirect("/"); request->redirect("/index");
} }
} }

Loading…
Cancel
Save