You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem/don't like current register() method
Register (create) a new user.
Parameters'Username' - string REQUIRED.
'Password' - string REQUIRED.
'Email' - string REQUIRED.
'Additional Data' - multidimensional array REQUIRED.
'Group' - array OPTIONAL. If not passed the default group name set in the config will be used.
I do not agree username should be required and passed as 1st parameter. Username can be retrieved as join of first_name & last_name. Plus, in many cases, username is not realy needed, since this can be replaced with email.
What is you opinion on this (at least for me) issue?
The text was updated successfully, but these errors were encountered:
I actually agree with you but have chosen to keep the API this way for backwards compatibility. In hindsight this really should have been changed with the 2.0 release. It's too late now though :/
I have a problem/don't like current register() method
I do not agree username should be required and passed as 1st parameter. Username can be retrieved as join of first_name & last_name. Plus, in many cases, username is not realy needed, since this can be replaced with email.
What is you opinion on this (at least for me) issue?
The text was updated successfully, but these errors were encountered: