mirror of
https://github.com/9001/copyparty.git
synced 2026-01-13 16:22:40 -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;
|
ebi('lm').innerHTML = un ? d.nou : d.nop;
|
||||||
return false;
|
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