]> git.proxmox.com Git - pmg-gui.git/commitdiff
fix #1945: enable dns names for ldap servers on gui
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 13 Mar 2019 14:17:10 +0000 (15:17 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 18 Mar 2019 05:35:34 +0000 (06:35 +0100)
was only available in the backend, allow it also on the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/LDAPConfig.js

index 172a75bfc93b73c8090bac780fec423859be1091..79f23f826b7d05f7c85290d40d076b1de7b6f669 100644 (file)
@@ -65,7 +65,7 @@ Ext.define('PMG.LDAPInputPanel', {
                xtype: 'textfield',
                fieldLabel: gettext('Server'),
                allowBlank: false,
-               vtype: 'IP64Address',
+               vtype: 'DnsOrIp',
                name: 'server1'
            },
            {
@@ -73,7 +73,7 @@ Ext.define('PMG.LDAPInputPanel', {
                fieldLabel: gettext('Server'),
                allowBlank: true,
                deleteEmpty: me.isCreate ? false : true,
-               vtype: 'IP64Address',
+               vtype: 'DnsOrIp',
                name: 'server2'
            },
            {