User Registration and Additional User Information
The documentation doesn't have any information on registering a user programatically or adding new fields.
I can create a new module with a table relation to the users for new user info. But how do I create a new user?
Is there no function like $this->fuel->users->create($array)?
For the second option, the TankAuth Codeignitor modules works well but needs some integration.
I stumbled across the same problem (I think), to create a fuel user programatically.
In my case I used a migration script:
Feel free to correct this snippet if you think it's wrong or there is a better way.
Here is a better version of a migration script, that adds a new Fuel CMS user, sends an email so the new user can set a new password and applies the user role "Editor" which is a defined set of Fuel CMS permissions using the Group Access module .
You can get my forked and updated version of Group Access here: