mirror of
https://github.com/9001/copyparty.git
synced 2026-01-12 07:44:08 -07:00
login-ui password max-length hint; closes #1029
This commit is contained in:
parent
c8f3b4ef05
commit
8d46cf1823
|
|
@ -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)';
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue