You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this should also be left up to the user for how they want to handle this. For example, if I only want to use a token and my app doesn't require a username I shouldn't be forced to provide one. I realize that it is more secure to use username and token but IMO this library shouldn't enforce that.
Currently, I have to hack things and tack on req.body.username = true in order for things to work when I don't want to pass a username. Less is more 😄.
The text was updated successfully, but these errors were encountered:
ekryski
added a commit
to ekryski/passport-token
that referenced
this issue
Mar 25, 2015
I think this should also be left up to the user for how they want to handle this. For example, if I only want to use a token and my app doesn't require a username I shouldn't be forced to provide one. I realize that it is more secure to use
username
andtoken
but IMO this library shouldn't enforce that.Currently, I have to hack things and tack on
req.body.username = true
in order for things to work when I don't want to pass a username. Less is more 😄.The text was updated successfully, but these errors were encountered: