summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-02-24 14:38:30 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-24 14:40:10 +0000
commit4c64aedb3eb09358f20ce29b8bdccb872fb10099 (patch)
treefff520ca3a1ead7f0da308d40fd891ae8d1a0239 /themes/luci-theme-openwrt-2020
parentcea51acf6f3d56a30fecf05d470a2b7f6a340a09 (diff)
luci-mod-failsafe: kill old failsafe mod
It's been unmaintained for ages and became useless. Better just limit regular luci-mod-admin to only show basic functionality in case `ubus call system board` indicates we are running off initramfs. Singed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'themes/luci-theme-openwrt-2020')
-rw-r--r--themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm
index fb0842df04..f6ae02c212 100644
--- a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm
+++ b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm
@@ -50,7 +50,7 @@
<div id="mainmenu"></div>
<div id="maincontent">
- <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and category ~= "failsafe" and path ~= "admin-system-admin-password" then -%>
+ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and path ~= "admin-system-admin-password" then -%>
<div class="alert-message warning">
<h4><%:No password set!%></h4>
<p><%:There is no password set on this router. Please configure a root password to protect the web interface.%></p>