Access users database externally
Permalink
Hi,
When an user registers in my website, I would also like to register them in concrete5. Basically I want to access Concrete5 database using SQL/PHP. However, since the password (upassword in Users) is encrypted with 'PASSWORD_SALT?', when I'm directly insert a row into table, concretet5 doesn't seem to recognize password when I try to log-in with it.
So my question is what should I do to make c5 recognize it?
Many Thanks
When an user registers in my website, I would also like to register them in concrete5. Basically I want to access Concrete5 database using SQL/PHP. However, since the password (upassword in Users) is encrypted with 'PASSWORD_SALT?', when I'm directly insert a row into table, concretet5 doesn't seem to recognize password when I try to log-in with it.
So my question is what should I do to make c5 recognize it?
Many Thanks
There is a function encryptPassword that might be what you are looking for.