User Utils
Categories
Component ID
2547721
Component name
User Utils
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
A lightweight module that exposes a class that will automatically provision a user account AND log the new user in. This is useful for quick sign up forms. This is module is for module developers and does not contain any UI level configuration.
Currently this module is really just one member function of the UserUtils class:
$utils = new UserUtils();
$utils->provisionUser(array('email'=>$form_state['values']['email'], 'password'=>$form_state['values']['password']));
I have included a quick example of using this within the module.
