]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/Utils.js
ui: dc/AuthEditBase: only add tfa field on auth modes that support that
[pve-manager.git] / www / manager6 / Utils.js
index 3fdf37d343558b57f8f7e4bb35725caf5ec9ac67..705ca741d8d6e7cd260dada12ebb4f7999021690 100644 (file)
@@ -733,17 +733,20 @@ Ext.define('PVE.Utils', {
            ipanel: 'pveAuthADPanel',
            syncipanel: 'pveAuthLDAPSyncPanel',
            add: true,
+           tfa: true,
        },
        ldap: {
            name: gettext('LDAP Server'),
            ipanel: 'pveAuthLDAPPanel',
            syncipanel: 'pveAuthLDAPSyncPanel',
            add: true,
+           tfa: true,
        },
        pam: {
            name: 'Linux PAM',
            ipanel: 'pveAuthBasePanel',
            add: false,
+           tfa: true,
        },
        pve: {
            name: 'Proxmox VE authentication server',