themes: remove deprecated reference to enabling SSH
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Aug 2020 19:32:56 +0000 (22:32 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 16 Aug 2020 19:34:40 +0000 (22:34 +0300)
Remove the reference to setting a password being linked to SSH capability.
(SSH has been initially enabled since year 2015.)

Backport of commit 258e74c1c

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm
themes/luci-theme-material/luasrc/view/themes/material/header.htm
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm
themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm

index 89aa338152fa35ddadbb93b73d77c1596dab6880..5e3687935b9170b42ef8b2edb2565acb28ca6544 100644 (file)
@@ -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 -%>
                                <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 and enable SSH.%></p>
+                                       <p><%:There is no password set on this router. Please configure a root password to protect the web interface.%></p>
                                        <% if disp.lookup("admin/system/admin") then %>
                                          <div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
                                        <% end %>
index 0d9d70073df5f9c226766b875a3092c3d7e1f51b..5abfb481b66c142f818857ef94f2b1d85db5f808 100644 (file)
                                <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") 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 and enable SSH.%></p>
+                                               <p><%:There is no password set on this router. Please configure a root password to protect the web interface.%></p>
                                                <% if disp.lookup("admin/system/admin") then %>
                                                        <div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
                                                <% end %>
index 376aee99cbbffe5892280fe614f0ce030d90598f..fafd86f35e483b8f5faae6f49d99e26bba90afef 100644 (file)
@@ -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 -%>
                <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 and enable SSH.%></p>
+                       <p><%:There is no password set on this router. Please configure a root password to protect the web interface.%></p>
                        <% if disp.lookup("admin/system/admin") then %>
                                <div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
                        <% end %>
index c20d9c0485fa15512c502ac7562afbc2ec6cf962..1c89f3daee712561cb9f638cc93b8e93f48f2591 100644 (file)
                                                        <%:No password set!%>
                                                </h4>
                                                <p>
-                                                       <%: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.%>
                                                </p>
                                                <div><a class="btn" href="<%=url("admin/system/admin")%>"> <%:Go to password configuration...%></a></div>
                                        </div>