mirror of
https://github.com/9001/copyparty.git
synced 2026-02-22 10:23:30 +10:00
login-ui password max-length hint; closes #1029
This commit is contained in:
@@ -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)';
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user