totp: add location hostname into default issuer

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-11 21:11:01 +01:00
parent 05da27edef
commit d6f0eee91c

View File

@ -18,7 +18,7 @@ Ext.define('Proxmox.window.AddTotp', {
isAdd: true,
userid: undefined,
tfa_id: undefined,
issuerName: 'Proxmox',
issuerName: `Proxmox - ${document?.location?.hostname || 'unknown'}`,
fixedUser: false,
updateQrCode: function() {