Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Add result of verify(jwt) to req? #6

Closed
tuckerconnelly opened this issue Apr 29, 2017 · 2 comments
Closed

Add result of verify(jwt) to req? #6

tuckerconnelly opened this issue Apr 29, 2017 · 2 comments

Comments

@tuckerconnelly
Copy link
Contributor

tuckerconnelly commented Apr 29, 2017

So other middleware can use it? Would be nice to:

(req, res) => {
  doSomethingCoolWithUser(req.jwt.id)
  send(res, 200)
}
@kandros
Copy link
Owner

kandros commented Apr 29, 2017

@tuckerconnelly would you consider make a pull request with the change?
Thanks

@tuckerconnelly
Copy link
Contributor Author

Boom #7

@kandros kandros closed this as completed Apr 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants