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

Mario Malafronte Posted in Component Development 4 years 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 ?

Replies
Dutch Eric redegeld Replied 12 months ago

try this before, only its pain in them you know what when you apply new upgrade.

Breton Rafael [redcrested.net] Replied 4 years ago

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

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