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

Make sure hash_key is always used when passed #134

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Make sure hash_key is always used when passed #134

merged 1 commit into from
Dec 18, 2018

Conversation

robinvdvleuten
Copy link
Contributor

In my application, I use the check_pass method for both checking the password hash and the reset token hash. It seems that when the password_hash is present on the user struct, the get_hash method always returns this value. With this PR, the passed hash_key is always used even if the password_hash is present.

@riverrun riverrun merged commit 74a08ed into riverrun:master Dec 18, 2018
@riverrun
Copy link
Owner

Cool! Thanks for your help.

@riverrun
Copy link
Owner

Changes added to version 4.1.2

@robinvdvleuten
Copy link
Contributor Author

Thank you for the quick release!

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