mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-16 04:04:10 +02:00
Fix config mode not redirecting to welcome page
This commit is contained in:
parent
e771b8777a
commit
4c11130c8c
|
@ -6,10 +6,8 @@ function index()
|
||||||
|
|
||||||
if uci_state:get_first("config_mode", "wizard", "running", "0") == "1" then
|
if uci_state:get_first("config_mode", "wizard", "running", "0") == "1" then
|
||||||
local root = node()
|
local root = node()
|
||||||
if not root.target then
|
root.target = alias("wizard", "welcome")
|
||||||
root.target = alias("wizard", "welcome")
|
root.index = true
|
||||||
root.index = true
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user