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

Fixed cli on windows and new hash function #2

Merged
merged 3 commits into from
Aug 17, 2014

Conversation

lbehm
Copy link
Contributor

@lbehm lbehm commented Aug 16, 2014

No description provided.

To use the builtin (PHP>=5.5) password hashing functions set in
src/config/main.config.php the value of security.hash to PASSWORD_DEFAULT

If the function password_hash is'nt available, run the following:
> composer require ircmaxell/password-compat:1.0.*

If PASSWORD_DEFAULT or PASSWORD_BCRYPT isn't set at runtime, use there value: 1
The value MUST BE an integer.
@lbehm lbehm changed the title Fixed cli on windows Fixed cli on windows and new hash function Aug 16, 2014
@mario-deluna
Copy link
Member

Checking if the algo is numeric is a smart solution. This way you can simply set security.hash to the constant PASSWORD_DEFAULT for example.

Thanks.

mario-deluna added a commit that referenced this pull request Aug 17, 2014
Fixed cli on windows and new hash function
@mario-deluna mario-deluna merged commit 6f9be8b into ClanCats:master Aug 17, 2014
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

Successfully merging this pull request may close these issues.

2 participants