From 258e74c1c3e465e0c5561a0efbda0d4d2724eda3 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 16 Aug 2020 22:19:37 +0300 Subject: [PATCH] themes: remove deprecated reference to enabling SSH Remove the reference to setting a password being linked to SSH capability. (SSH has been initially enabled since year 2015.) Signed-off-by: Hannu Nyman --- .../luasrc/view/themes/bootstrap/header.htm | 2 +- .../luci-theme-material/luasrc/view/themes/material/header.htm | 2 +- .../luasrc/view/themes/openwrt2020/header.htm | 2 +- .../luasrc/view/themes/openwrt.org/header.htm | 2 +- themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm index 999c868e38..ad2d7feef5 100644 --- a/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -52,7 +52,7 @@ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>

<%:No password set!%>

-

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

+

<%:There is no password set on this router. Please configure a root password to protect the web interface.%>

<% if disp.lookup("admin/system/admin") then %> <% end %> diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 32678a322e..f81aae5ac1 100644 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -210,7 +210,7 @@ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>

<%:No password set!%>

-

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

+

<%:There is no password set on this router. Please configure a root password to protect the web interface.%>

<% if disp.lookup("admin/system/admin") then %> <% end %> 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 c6bb0877a3..fc068b65c3 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 @@ -53,7 +53,7 @@ <%- 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 -%>

<%:No password set!%>

-

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

+

<%:There is no password set on this router. Please configure a root password to protect the web interface.%>

<% if disp.lookup("admin/system/admin") then %> <% end %> diff --git a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm index 376aee99cb..fafd86f35e 100644 --- a/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -77,7 +77,7 @@ <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and category ~= "failsafe" then -%>

<%:No password set!%>

-

<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>

+

<%:There is no password set on this router. Please configure a root password to protect the web interface.%>

<% if disp.lookup("admin/system/admin") then %> <% end %> diff --git a/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm b/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm index c20d9c0485..1c89f3daee 100644 --- a/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm +++ b/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm @@ -279,7 +279,7 @@ <%:No password set!%>

- <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%> + <%:There is no password set on this router. Please configure a root password to protect the web interface.%>

-- 2.30.2