jaredhanson/passport — pull request #261 by dstroot (2014-07-16 03:56:35+00:00)
Title: Fix express deprecated msg - Use res.redirect(status, url) instead

In expressjs 4.6.1 I am getting this deprecation warning:

"express deprecated res.redirect(ur, status): Use res.redirect(status, url) instead node_modules/passport/lib/middleware/authenticate.js:294:15"

So I fixed it for you! ;)

Note: my editor also removed excess spaces automatically - sorry about all the changes below - line 294 is the only real change.