ui: tfa: include cluster or node name in issuer

As else people may have a hard time of figuring out for which host a
factor is valid.

As a factor is valid for every cluster node we prefer the cluster
name and for single-nodes we use the node name as fallback.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-11 20:30:25 +01:00
parent 16c005449e
commit 411a4577ee

View File

@ -108,7 +108,7 @@ Ext.define('PVE.dc.Config', {
iconCls: 'fa fa-key',
itemId: 'tfa',
yubicoEnabled: true,
issuerName: 'Proxmox VE',
issuerName: `Proxmox VE - ${PVE.ClusterName || Proxmox.NodeName}`,
});
if (caps.dc['Sys.Audit']) {