Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

[fix] Was storing a 6 char password in plain text [fixes #829] #830

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

codydaig
Copy link
Member

Fixes #829.

If the password was exactly 6 characters long, the password would not get hashed and was being stored in the database as plain text. I added a couple tests to ensure the password wasn't being stored in plain text as well as fixed the logic that was skipping over the password hashing.

Thanks @sparshy! :-D

@tmfelwu
Copy link

tmfelwu commented Aug 20, 2015

Thank u guys for maintaining this awesome project

@mleanos
Copy link
Member

mleanos commented Aug 20, 2015

LGTM. Good catch @sparshy

@rhutchison rhutchison mentioned this pull request Aug 20, 2015
15 tasks
@rhutchison
Copy link
Contributor

LGTM

@lirantal lirantal added this to the 0.4.x milestone Aug 21, 2015
@lirantal lirantal self-assigned this Aug 21, 2015
@lirantal
Copy link
Member

Thanks guys, good catch indeed @sparshy

lirantal added a commit that referenced this pull request Aug 21, 2015
[fix] Was storing a 6 char password in plain text [fixes #829]
@lirantal lirantal merged commit 7b880e9 into meanjs:master Aug 21, 2015
@codydaig codydaig deleted the bug/password branch August 21, 2015 22:16
@ilanbiala ilanbiala modified the milestones: 0.4.1, 0.4.x Aug 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password is being stored in clear text if length is 6
6 participants