Skip to content

Commit

Permalink
[fix] fn may be called out of context by passport
Browse files Browse the repository at this point in the history
  • Loading branch information
doublerebel committed Oct 16, 2016
1 parent 949e975 commit 84b14df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/passport-couch.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CouchStrategy
serializeUser: (user, done) ->
done null, user.name

deserializeUser: (id, done) ->
deserializeUser: (id, done) =>
@cloudantUser.get id, done

authenticate: (req, options) ->
Expand Down

0 comments on commit 84b14df

Please sign in to comment.