Pergunta

I've a Joomla app that uses the JLV Facebook Login extension to login to app using a facebook account. The first time that I log in to the app using facebook accout, a user is created in the joomla's users table. Well, I can decrypt a Joomla user password inside that table (Passwords uses MD5 encryption) but when the encrypted password is created by a facebook login, I cannot.

Somebody knows how to decrypt the user password when the user was created by a facebook login?

Thanks!

Foi útil?

Solução

when creating the new user, the module generates a random password with length 5, using the function

JUserHelper::genRandomPassword(5); 

and then creates an md5-hash on insertion in the database.

A new random password is generated on each successful facebook login, using the same method. So there is no connection between the facebook password and the hashed password in the joomla database.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top