Allow custom usernames.#106
Conversation
|
I have an idea. Why not make custom usernames a config option which could be enabled when necessary? Perhaps this could even be extended by allowing to choose from multiple predefined username schemas, and allowing to use a custom one if none of these predefined schemas work. This way the "User name" field should only be displayed when custom usernames are selected instead of being always visible and always required. What do you think? |
|
On 2016-02-09 11:52, Rimas Kudelis wrote:
With this feature, we should retire the split username field during |
|
Yeah, why not. |
|
Hi, sorry, I'm not very available right now. I'm moving to another country and changing my job, so I am in the middle of a lot of procedures. |
|
I really don't think custom user names are a priority for a release, I'd rather see less risk / change on optional features, and stabilisation of the task list for road to release before moving forward with more additional features Matt
|
|
I came around this issue on implementing a new WebUI in Python. (see https://github.com/vexim/vexim2/wiki/WebUI-GUI-in-Flask-Python3) My idia is to use the username field only for login. In every place where the mail address of a user is needed, it should be constructed from concat_ws('@', users.localpart, domains.domain). |
We typically use vexim with customers that want to upgrade their existing ancient mail system, so we want to keep the same usernames they were using and, most of the times, they use a specific schema for usernames that they want to keep for new users (and that doesn't match e-mail address), so we need to be able to select what username to use when creating a new account.
This patch allows domain admins to select which username to use for new accounts. I don't know if you may be interested in merging it upstream, so I'm pushing it and feel free to reject it if you are not interested.