Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
decorate() should return this
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 28, 2012
1 parent ca0e61d commit 1ea4391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions couch-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function decorate (req, res) {
session.del('couch_token', cb || function () {})
}
}

return this
}

CouchLogin.prototype =
Expand Down

0 comments on commit 1ea4391

Please sign in to comment.