Skip to content

Await validPassword #11

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

Merged
merged 1 commit into from
Oct 4, 2017
Merged

Await validPassword #11

merged 1 commit into from
Oct 4, 2017

Conversation

ecwyne
Copy link
Contributor

@ecwyne ecwyne commented Oct 4, 2017

validPassword returns a promise which must therefore be awaited

@clintonwoo clintonwoo merged commit d24e435 into clintonwoo:dev Oct 4, 2017
@clintonwoo
Copy link
Owner

Thanks, good pickup. Looks like any password was validating as correct because the promise is truthy.

@ecwyne ecwyne deleted the patch-1 branch October 4, 2017 17:33
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