From 8ff8f43512396a46a05a7456db04e5eaf94fe7f0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 9 Nov 2021 12:27:13 +0100 Subject: [PATCH] www: add TFA view to config Signed-off-by: Wolfgang Bumiller --- 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 e3f2898c..67f39efa 100644 --- a/www/manager6/dc/Config.js +++ b/www/manager6/dc/Config.js @@ -101,6 +101,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', @@ -125,7 +135,7 @@ Ext.define('PVE.dc.Config', { }, { xtype: 'pveAuthView', - title: gettext('Authentication'), + title: gettext('Realms'), groups: ['permissions'], iconCls: 'fa fa-address-book-o', itemId: 'domains',