Correctly add itteration instead of hardcoding

codeql
Jeremy Mahieu 5 years ago
parent d70b8faf8b
commit 9626155da4
  1. 2
      js/connection.js

@ -157,7 +157,7 @@ weechat.factory('connection',
ngWebsockets.send(
weeChat.Protocol.formatInit29(
'pbkdf2+sha512:' + utils.bytetoHexString(salt) + ':100000:' + utils.bytetoHexString(hash),
'pbkdf2+sha512:' + utils.bytetoHexString(salt) + ':' + iterations + ':' + utils.bytetoHexString(hash),
totp
)
);

Loading…
Cancel
Save