Skip to content

Implemented method to override the password hashing algorithm#672

Merged
bshaffer merged 1 commit into
bshaffer:developfrom
ashiina:hash_password
Jan 11, 2016
Merged

Implemented method to override the password hashing algorithm#672
bshaffer merged 1 commit into
bshaffer:developfrom
ashiina:hash_password

Conversation

@ashiina
Copy link
Copy Markdown
Contributor

@ashiina ashiina commented Nov 18, 2015

By having sha1($password) hard-coded in the storage classes, it lacks flexibility for users who want to select a different password hashing algorithm.
I encapsulated the hashing algorithm in an overridable method hashPassword().

@bshaffer
Copy link
Copy Markdown
Owner

LGTM

bshaffer added a commit that referenced this pull request Jan 11, 2016
Implemented method to override the password hashing algorithm
@bshaffer bshaffer merged commit b9da77c into bshaffer:develop Jan 11, 2016
@bshaffer bshaffer mentioned this pull request Jan 6, 2017
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