uses moodle username and password for login on main site

uses moodle username and password for login on main site

by Muhammad Abdulhakeem -
Number of replies: 1

i want to use the username and password created for the student on the moodle site to also be used to login to our main site for payments and course registration,  what hash does moddle use on the passwords or is there a better way yo do it ?

Average of ratings: -
In reply to Muhammad Abdulhakeem

Re: uses moodle username and password for login on main site

by Adam Jenkins -
Picture of Plugin developers

Moodle uses bcrypt (done through PHP) to salt and hash passwords. 

But if your goal is single-sign-on for multiple sites, you might want to choose a different authentication method connecting to an external database (like LDAP or Oauth2).