mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 07:54:13 -05: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;
|
||||
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