• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error Unable to De-Activate Account when registering a new user

#1
After updating to Ion-Auth 3, I'm getting the error
Code:
Unable to De-Activate Account
when trying to register a new user.

Here is the code I'm calling.

PHP Code:
$user_id $this->ion_auth->register($username$password$email$additional_data$group_ids);    
// $user_id returns false when doing a var_dump

// update the user requirements
if($user_id !== FALSE) {
 
 $this->session->set_flashdata('message',$this->ion_auth->messages()); // message confirming user was created 
 
 $this->requirements_model->update_user_requirements($this->input->post('requirements'), $user_id);

else {
 
 $this->session->set_flashdata('message'$this->ion_auth->errors());


Before I last updated (which was about two years ago) everything was working fine. I'm using email as the identity and I've followed the update guide in github.

What is causing that error? The message doesn't seem to be relevant. There are no users in the database with the email I'm trying to register.

Thanks.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.