How can I pass the parameters to the signup and login methods?

Mario Malafronte Posted in Component Development 3 weeks ago

Hi, I am trying to customize my premium version of OSSN, I recreated the account registration page and I made sure to pass the input values to a signin.php page through an ajax call, now how can I call the adduser method and pass the input values to it to proceed ?

Breton Rafael Amorim Replied 3 weeks ago

To use your own registration code, add these lines in your custom component

ossn_register_action('user/register', PATH_OF_YOUR_COMPONENT . 'actions/user/register.php');