mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 10:16:21 +02:00
0.8.146
* fix redirect after login
This commit is contained in:
parent
8b1d734587
commit
4c5c088607
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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…
Add table
Reference in a new issue