mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-15 11:32:41 +00:00
ui: auth domains: openID: make 'username-claim' display-edit field
while we cannot allow editing it after realm creation it is still interesting to know to which value it was set. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
c5be8d39c9
commit
c2cd0c9eb3
@ -41,13 +41,14 @@ Ext.define('PVE.panel.OpenIDInputPanel', {
|
||||
value: 0,
|
||||
deleteEmpty: !me.isCreate,
|
||||
},
|
||||
];
|
||||
|
||||
if (me.isCreate) {
|
||||
me.column2.push({
|
||||
{
|
||||
xtype: 'pmxDisplayEditField',
|
||||
editConfig: {
|
||||
xtype: 'proxmoxKVComboBox',
|
||||
},
|
||||
editable: me.isCreate,
|
||||
name: 'username-claim',
|
||||
value: '__default__',
|
||||
value: me.isCreate ? '__default__' : Proxmox.Utils.defaultText,
|
||||
deleteEmpty: !me.isCreate,
|
||||
fieldLabel: gettext('Username Claim'),
|
||||
comboItems: [
|
||||
@ -56,8 +57,8 @@ Ext.define('PVE.panel.OpenIDInputPanel', {
|
||||
['username', 'username'],
|
||||
['email', 'email'],
|
||||
],
|
||||
});
|
||||
}
|
||||
},
|
||||
];
|
||||
|
||||
me.callParent();
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user