first sorry if its a stupid question but im lost a bit.
So when i use ion auth register function, and the register is ok, inserts the user data in the users table, and inserts the users id in to the groups table too.
Im a bit lost at this part, i would like to insert the user id in to the user profile table, and user settings table, after the registration is complete.
And i dont really know which function to modify. I was looking at the model and library searching for how the group is added into the database but couldnt really find any hint in the code.
So could someone please help me out on this? Pointing to a tutorial maybe or just giving me a hint where to start the modify
Thank you
In
models/ion_auth_model.phpat line733starts the register function.You can extend somewhere on line
793, after the line that gets the id of the user$id = $this->db->insert_id();just add your custom data you wish to insert: