Skip to content

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.

2 participants