]> git.proxmox.com Git - proxmox-widget-toolkit.git/commitdiff
totp: add location hostname into default issuer
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 20:11:01 +0000 (21:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 11 Nov 2021 20:11:01 +0000 (21:11 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/window/AddTotp.js

index 3e0f5b5a094453bc5e2e7b8318e0fc62dfe5806c..bdb482625754f5e42e1699b85b5daaa9af0fbf26 100644 (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() {