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

don't treat blank username or password as missing #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmorlang
Copy link

My use case involves users with blank passwords, and I've run into apps where blank usernames are allowed. passport-local treats these as invalid requests.

Regardless whether blank usernames or passwords are a good idea, it seems that it should be up to the verifier or some other system to determine whether this is valid, not passport-local. If a blank string is provided, it shouldn't be treated as a missing field.

@rwky
Copy link

rwky commented Jul 7, 2018

@rleemorlang if you make a PR against https://github.com/passport-next/passport-local this will get looked into.

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.

None yet

2 participants