Correctly add itteration instead of hardcoding

This commit is contained in:
Jeremy Mahieu 2020-04-22 11:58:49 +02:00
parent d70b8faf8b
commit 9626155da4

View File

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