rkusa/koa-passport — pull request #23 by JiangJie (2014-11-07 10:27:33+00:00)
Title: make sure `ctx.passport` isn't undefined before using `in` operator

Within function `getObject`, if `ctx.passport` is undefined, there will throw a `[TypeError: Cannot use 'in' operator to search for 'body' in undefined]`.