Page 1 of 1

I need to automatically enroll users who register for my main web site

Posted: Wed Aug 16, 2017 4:28 pm
by RepoMeister
What is the correct way to manually add a record to the Forma core_user table from outside the scope of a Forma $_SESSION? I need the student's userid and password they created at registration on my main site to be added to the Forma DB as well. I can populate the fields needed except for core_user.pass - I don't know what hashing algorithm you are using.

Re: I need to automatically enroll users who register for my main web site

Posted: Wed Aug 16, 2017 4:32 pm
by max
You should use the API

Search in the forum, they are discussed in several threads and there is also a .pdf with the list of all the available API

Re: I need to automatically enroll users who register for my main web site

Posted: Wed Aug 16, 2017 4:51 pm
by RepoMeister
Thanks for the pointer. I found a post that was very helpful and the poster provided this link: download/file.php?id=324 to a PDF file with the web service API.

*EDIT*:
In short, MD5 is currently being used for password hashing