wheelybird / ldap-user-manager

A PHP web-based interface for LDAP user account management and self-service password change.
MIT License
486 stars 107 forks source link

Custom email format independent of username #154

Open LXK-98 opened 2 years ago

LXK-98 commented 2 years ago

When setting up the manager you can define the user name format using USERNAME_FORMAT. This username will also be used in the email field. Is it possible to somehow have these two independent from each other? Specifically I would like to have the username in the format of first letter of first name + last name (eg. jdoe for John Doe) while keeping the email with the user's full name (eg. john.doe@example.com). You can of course manually edit the email whenever you create a new user, however having this step automated would be a great improvement imo. Thanks in advance!

wheelybird commented 2 years ago

Hi. No, that's not possible at the moment I'm afraid. It probably wouldn't be too difficult to implement, but due to work commitments it's unlikely I'll be able to do anything but bugfixes until later in the year.