Univention Bugzilla – Bug 44725
mailadress validity not checked when creating user via template
Last modified: 2017-06-08 07:45:36 CEST
steps to reproduce:
- change template "kopano account" to create mailadress as <lastname>@domain.stuff
- create a new user with the "kopano account" template
- lastname = "mueller schulz"
the resulting mailadress is displayed as: "mueller firstname.lastname@example.org" and the user can be saved without an error. Either the blanks " " need to be replaced with "_" or an error should appear and the user should not be saved.
I think an error message makes sense in any case since then the admin can decide how to replace the whitespaces.
The best way in addition would be to define a character that should be used as a substition ("-" in our case).