When we create a registration form which generates user objects in Pimcore, the key for the user object is always the Email (see: UserManager:242).
Even tho the method allows you to pass a custom key, the key is set to null when the user is freshly initialized (-> UserManager.php:216.
Desired scenario
It would be nice to have an option to be configured, which of the form fields should be used to generate the object's key.
e.g.
members:
user:
key_form_field: 'firstname' # default value, if not given: "email"
Current situation
When we create a registration form which generates user objects in Pimcore, the key for the user object is always the Email (see: UserManager:242). Even tho the method allows you to pass a custom key, the key is set to
null
when the user is freshly initialized (-> UserManager.php:216.Desired scenario
It would be nice to have an option to be configured, which of the form fields should be used to generate the object's key.
e.g.
Or did I miss something while researching?