User registration via PHP API ignores parameters - Joomla! Forum - community, help and support
i have php script want call mobile app, registers email address, uses random password, , automatically activates & asks user reset password upon first login.
this $data array i'm passing usermodelregistration register function:
the sendemail, activation , groups parameters not doing anything... tried changing them around, using 0 instead of '0' , played around order, nothing helped.
is possible?
if isn't, there way, make simple email registration registers email , asks password reset?
this $data array i'm passing usermodelregistration register function:
code: select all
$data = array(
'username' => $username,
'name' => $name,
'email1' => $email,
'password1' => $password, // first password field
'password2' => $password, // confirm password field
'sendemail' => '0',
'block' => '0',
'activation' => '0',
'groups' =>array("2","10"));
the sendemail, activation , groups parameters not doing anything... tried changing them around, using 0 instead of '0' , played around order, nothing helped.
is possible?
if isn't, there way, make simple email registration registers email , asks password reset?
Comments
Post a Comment