Hi,
I have website where there is login and signup form. Now, I wanted to interlink my signup and login form with moodle database too.
i.e, I have my separate database table for `user`, and after installing moodle in my server, there is separate `mdl_user` table. Luckily, required column name matches with my website `user` table.
But I am not able to process singup and login for moodle. What i want are :-
1. When anyone register to my website, I will insert all user details to my `user` table and `mdl_user` table too.
2. When anyone changes / reset his password / email, I will update `mdl_user` and my `user` table too.
3. I need all session and cookies name , that are set when user is successfully verified and is logged in.
Problem that i am currently facing :-
1. I am not sure, what encryption type moodle uses to store `password` in `mdl_user` table. I am using `PHPass` from openwall. This is important for me, as if anytime user login to moodle directly without my website login form. He should be logged in with no-error. Therefore i need to know, how moodle encrypts the password and stores it in `mdl_user` table.
2. What are all session name, cookies name that are set when user is successfully verified.
If there are any other problem too, which i am not aware of at the moment, Please guide me. I will do all recommended steps to integrate my site login & signup with moodle database sql-query.
Thanks