mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 06:38:39 +00:00
www: add TFA view to config
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
3c02565699
commit
8ff8f43512
@ -101,6 +101,16 @@ Ext.define('PVE.dc.Config', {
|
|||||||
itemId: 'apitokens',
|
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']) {
|
if (caps.dc['Sys.Audit']) {
|
||||||
me.items.push({
|
me.items.push({
|
||||||
xtype: 'pveGroupView',
|
xtype: 'pveGroupView',
|
||||||
@ -125,7 +135,7 @@ Ext.define('PVE.dc.Config', {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
xtype: 'pveAuthView',
|
xtype: 'pveAuthView',
|
||||||
title: gettext('Authentication'),
|
title: gettext('Realms'),
|
||||||
groups: ['permissions'],
|
groups: ['permissions'],
|
||||||
iconCls: 'fa fa-address-book-o',
|
iconCls: 'fa fa-address-book-o',
|
||||||
itemId: 'domains',
|
itemId: 'domains',
|
||||||
|
Loading…
Reference in New Issue
Block a user