mikenicholson/passport-jwt

Error objects should not be passed to Strategy.fail()

mikenicholson opened this issue · 0 comments

See latest discussion in #160.

This comment raises a valid point. Rather than passing instances of Error, we should be passing strings to Strategy.fail().

#160 (comment)