incomplete NNTP usenet support

This commit is contained in:
zefie
2022-09-25 22:52:18 -04:00
parent d8da9e14c7
commit b2aece5437
11 changed files with 927 additions and 31 deletions

View File

@@ -424,7 +424,7 @@ class WTVClientSessionData {
}
generatePassword(len) {
return CryptoJS.lib.WordArray.random(len).toString(CryptoJS.enc.Hex);
return CryptoJS.lib.WordArray.random(Math.round(len / 2)).toString(CryptoJS.enc.Hex);
}
setUserPassword(passwd) {