User info self-edit would not update displayName (which is supposed to be the same as cn) resulting in inconsistencies

This commit is contained in:
Alexandre Aubin 2022-10-09 17:27:04 +02:00
parent a3507203a9
commit e2996f1451

View file

@ -966,6 +966,7 @@ function edit_user()
-- No problem so far, we can write modifications to the LDAP -- No problem so far, we can write modifications to the LDAP
if ldap:modify(dn, {'=', cn = cn, if ldap:modify(dn, {'=', cn = cn,
displayName = cn,
givenName = args.givenName, givenName = args.givenName,
sn = args.sn, sn = args.sn,
mail = mails, mail = mails,