From 9626155da4d72231dfd618c70957dcc7f24f8d71 Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Wed, 22 Apr 2020 11:58:49 +0200 Subject: [PATCH] Correctly add itteration instead of hardcoding --- js/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/connection.js b/js/connection.js index 814f3e0..05a9e63 100644 --- a/js/connection.js +++ b/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 ) );