<%# hmi.htm -%> <% ---------------------- -- Poste seleccionado ---------------------- local chp = require "luci.model.charging_points" local path = luci.dispatcher.context.requestpath local user, serialnumber, hw_model = chp.whoami(path) local fs = require "nixio.fs" local cl = path[1] local user_pass = "password_"..cl local user_confirm = "confirm_"..cl local error = "error_invalid_"..cl local errordif = "error_diff_"..cl local utl = require "luci.util" local inactivity_period = utl.ubus("uci", "get", {config = "luci", section = "sauth", option = "sessiontime"}) if inactivity_period and inactivity_period.value then inactivity_period = inactivity_period.value end -%> <%+header%>

<%=translate("WEB Manager Password")%>

<%=translate("Changes web manager configuration and passwords.")%>


<%=translate("Configuration")%>
<%=path[1].." "..translate("Password")%>


<%if path[1] == "admin" then %> Operator password


<%end%>
<%=translate("Password must contain at least one upper case letter, one lower case letter, one number and one special character.")%>
<%+footer%>