login-ui password max-length hint; closes #1029

This commit is contained in:
ed
2025-12-16 21:54:36 +00:00
parent c8f3b4ef05
commit 8d46cf1823

View File

@@ -115,3 +115,9 @@ if (ebi('lf'))
ebi('lm').innerHTML = un ? d.nou : d.nop;
return false;
};
if (ebi('lp'))
ebi('lp').oninput = function() {
ebi('lm').innerHTML = this.value.length <= 64 ?
'' : 'ERROR: Password too long (max=64)';
};