jaredhanson/passport — pull request #174 by matejkramny (2013-10-13 11:34:17+00:00)
Title: Throw error if callback is undefined

Throws error when req.login callback function is missing (and is using session).

This should make it easier to debug when you [accidentally] forget to place a callback function into req.login.