mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-04 10:14:47 +00:00
auth ui: add firstname
and lastname
sync-attribute fields
This allows the user to set up a mapping for `firstname` and `lastname` attributes for LDAP user syncs. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
2ee8cbdac1
commit
78970361b3
@ -200,7 +200,7 @@ Ext.define('Proxmox.panel.LDAPSyncInputPanel', {
|
||||
xtype: 'pmxAuthLDAPSyncPanel',
|
||||
mixins: ['Proxmox.Mixin.CBind'],
|
||||
|
||||
editableAttributes: ['email'],
|
||||
editableAttributes: ['firstname', 'lastname', 'email'],
|
||||
editableDefaults: ['scope', 'enable-new'],
|
||||
default_opts: {},
|
||||
sync_attributes: {},
|
||||
@ -282,6 +282,16 @@ Ext.define('Proxmox.panel.LDAPSyncInputPanel', {
|
||||
},
|
||||
|
||||
column1: [
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'firstname',
|
||||
fieldLabel: gettext('First Name attribute'),
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'lastname',
|
||||
fieldLabel: gettext('Last Name attribute'),
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxtextfield',
|
||||
name: 'email',
|
||||
|
Loading…
Reference in New Issue
Block a user