From: Thomas Lamprecht Date: Thu, 4 Apr 2019 06:35:26 +0000 (+0200) Subject: ui: tfa: hide digit/duration fields as some auth apps are broken X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d74242d4a532f9a76b20462b8af581991241f315;p=pve-manager-legacy.git ui: tfa: hide digit/duration fields as some auth apps are broken Google Authenticator, for example, just ignores it and thus one cannot use they produced verification codes... Signed-off-by: Thomas Lamprecht --- diff --git a/www/manager6/dc/TFAEdit.js b/www/manager6/dc/TFAEdit.js index 014d6df5..cfb82337 100644 --- a/www/manager6/dc/TFAEdit.js +++ b/www/manager6/dc/TFAEdit.js @@ -322,6 +322,8 @@ Ext.define('PVE.window.TFAEdit', { xtype: 'numberfield', fieldLabel: gettext('Time period'), name: 'step', + // Google Authenticator ignores this and generates bogus data + hidden: true, value: 30, minValue: 10, qrupdate: true @@ -331,6 +333,8 @@ Ext.define('PVE.window.TFAEdit', { fieldLabel: gettext('Digits'), name: 'digits', value: 6, + // Google Authenticator ignores this and generates bogus data + hidden: true, minValue: 6, maxValue: 8, qrupdate: true