by ale casa.
I guess you have another application with a login, i needed the same thing
from your API you 'll need 2 interfaces, one for the login, one for the registration
you need to create a user on "mdl_user" table , you can just pass the user email and password from your website,
then you might want to enrole the user on "mdl_role_assignment "
and assign a role on "mdl_user_role"
from your API you 'll need 2 interfaces, one for the login, one for the registration
you need to create a user on "mdl_user" table , you can just pass the user email and password from your website,
then you might want to enrole the user on "mdl_role_assignment "
and assign a role on "mdl_user_role"