Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcrypt is not available #7

Open
JurgenG opened this issue Jul 27, 2016 · 0 comments
Open

bcrypt is not available #7

JurgenG opened this issue Jul 27, 2016 · 0 comments

Comments

@JurgenG
Copy link

JurgenG commented Jul 27, 2016

Hi,

after installing the addon in PS, I tried setting the configuration variables. For encryption method, I can choose between md5 and sha1 ... Chamilo currently uses the (superior) bcrypt. Is it possible that the addon doesn't know how to handle this yet?

In the file prestochamilo.php on line 396, there is only to choose between md5 and sha1.
For bcrypt, you can get the hash with this command:
$password = password_hash($password, PASSWORD_DEFAULT);

Only adding this item doesn't solve the issue. I'm assuming there are more hooks directly going to sha1 that should be flexible too...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant