mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-25 07:23:45 +00:00
fix #5379: window: AuthEdit{LDAP, OpenId}: add 'Default realm' checkbox
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
This commit is contained in:
parent
6fe81f0cef
commit
0f8d38b5de
@ -82,6 +82,19 @@ Ext.define('Proxmox.panel.LDAPInputPanel', {
|
|||||||
fieldLabel: gettext('Realm'),
|
fieldLabel: gettext('Realm'),
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxcheckbox',
|
||||||
|
fieldLabel: gettext('Default realm'),
|
||||||
|
name: 'default',
|
||||||
|
value: 0,
|
||||||
|
cbind: {
|
||||||
|
deleteEmpty: '{!isCreate}',
|
||||||
|
},
|
||||||
|
autoEl: {
|
||||||
|
tag: 'div',
|
||||||
|
'data-qtip': gettext('Set realm as default for login'),
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
fieldLabel: gettext('Base Domain Name'),
|
fieldLabel: gettext('Base Domain Name'),
|
||||||
@ -216,7 +229,6 @@ Ext.define('Proxmox.panel.LDAPInputPanel', {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -35,6 +35,19 @@ Ext.define('Proxmox.panel.OpenIDInputPanel', {
|
|||||||
fieldLabel: gettext('Realm'),
|
fieldLabel: gettext('Realm'),
|
||||||
allowBlank: false,
|
allowBlank: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
xtype: 'proxmoxcheckbox',
|
||||||
|
fieldLabel: gettext('Default realm'),
|
||||||
|
name: 'default',
|
||||||
|
value: 0,
|
||||||
|
cbind: {
|
||||||
|
deleteEmpty: '{!isCreate}',
|
||||||
|
},
|
||||||
|
autoEl: {
|
||||||
|
tag: 'div',
|
||||||
|
'data-qtip': gettext('Set realm as default for login'),
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxtextfield',
|
xtype: 'proxmoxtextfield',
|
||||||
fieldLabel: gettext('Client ID'),
|
fieldLabel: gettext('Client ID'),
|
||||||
|
Loading…
Reference in New Issue
Block a user