[pve-devel] [PATCH manager 6/7] www: add TFA view to config

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Nov 9 12:27:13 CET 2021


Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 www/manager6/dc/Config.js | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js
index 58038905..63a3d1d1 100644
--- a/www/manager6/dc/Config.js
+++ b/www/manager6/dc/Config.js
@@ -95,6 +95,16 @@ Ext.define('PVE.dc.Config', {
 	    itemId: 'apitokens',
 	});
 
+	me.items.push({
+	    xtype: 'pmxTfaView',
+	    title: gettext('Two Factor'),
+	    groups: ['permissions'],
+	    iconCls: 'fa fa-key',
+	    itemId: 'tfa',
+	    yubicoEnabled: true,
+	    issuerName: 'Proxmox VE',
+	});
+
 	if (caps.dc['Sys.Audit']) {
 	    me.items.push({
 		xtype: 'pveGroupView',
@@ -119,7 +129,7 @@ Ext.define('PVE.dc.Config', {
 	    },
 	    {
 		xtype: 'pveAuthView',
-		title: gettext('Authentication'),
+		title: gettext('Realms'),
 		groups: ['permissions'],
 		iconCls: 'fa fa-address-book-o',
 		itemId: 'domains',
-- 
2.30.2






More information about the pve-devel mailing list