Auto Activate Email – When using API
-
Hi!
First, thanks for the plugin!
I am adding on my site users using api call (example above). But the users are marked as Active but cant log in directly on my site. I found that they still need to activate the account by accessing their email and clicking on the link.
But I need them to be already registered and active, without any needs for another confirmation.
I looked over and over on the configuration, but found nothing.
Please, help me to make user active without any more confirmation after api call?
Thank you
* PHP EXAMPLE I USE TO ADD USER*
$post_arr = array(
‘swpm_api_action’ => ‘create’,
‘key’ => ‘APIKEY’,
‘first_name’ => $firstname,
‘last_name’ => $lastname,
’email’ => $email,
‘username’ => $email,
‘password’ => ‘PASSWORD’,
‘membership_level’ => ‘3’,
);
$ch = curl_init();curl_setopt($ch, CURLOPT_URL,”https://www.moldescostura.com.br/”);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch,CURLOPT_USERAGENT,’curl’);
curl_setopt($ch, CURLOPT_POSTFIELDS,
$post_arr);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec ($ch);
curl_close ($ch);
- The topic ‘Auto Activate Email – When using API’ is closed to new replies.