* fix redirect after login
This commit is contained in:
lumapu 2024-09-23 22:28:48 +02:00
parent 8b1d734587
commit 4c5c088607
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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");
} }
} }