Signed-off-by: Wolfgang Bumiller <w.bumil...@proxmox.com>
---
 www/manager6/dc/TFAEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/dc/TFAEdit.js b/www/manager6/dc/TFAEdit.js
index 7d19127d..8f3017f6 100644
--- a/www/manager6/dc/TFAEdit.js
+++ b/www/manager6/dc/TFAEdit.js
@@ -289,7 +289,7 @@ Ext.define('PVE.window.TFAEdit', {
 
        randomizeSecret: function() {
            var me = this;
-           var rnd = new Uint8Array(16);
+           var rnd = new Uint8Array(32);
            window.crypto.getRandomValues(rnd);
            var data = '';
            rnd.forEach(function(b) {
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to