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.)
Backport of commit 258e74c1c
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
304ad04a5f
commit
f3dc664144
4 changed files with 4 additions and 4 deletions
|
@ -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 -%>
|
<%- 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">
|
<div class="alert-message warning">
|
||||||
<h4><%:No password set!%></h4>
|
<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 %>
|
<% if disp.lookup("admin/system/admin") then %>
|
||||||
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -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 -%>
|
<%- 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">
|
<div class="alert-message warning">
|
||||||
<h4><%:No password set!%></h4>
|
<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 %>
|
<% if disp.lookup("admin/system/admin") then %>
|
||||||
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -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 -%>
|
<%- 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">
|
<div class="alert-message warning">
|
||||||
<h4><%:No password set!%></h4>
|
<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 %>
|
<% if disp.lookup("admin/system/admin") then %>
|
||||||
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
<div class="right"><a class="btn" href="<%=url("admin/system/admin")%>"><%:Go to password configuration...%></a></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -279,7 +279,7 @@
|
||||||
<%:No password set!%>
|
<%:No password set!%>
|
||||||
</h4>
|
</h4>
|
||||||
<p>
|
<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>
|
</p>
|
||||||
<div><a class="btn" href="<%=url("admin/system/admin")%>"> <%:Go to password configuration...%></a></div>
|
<div><a class="btn" href="<%=url("admin/system/admin")%>"> <%:Go to password configuration...%></a></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue