Permalink
Browse files

decorate() should return this

  • Loading branch information...
1 parent ca0e61d commit 1ea4391c3c72dddd634a6d605ef560cb821fa862 @isaacs isaacs committed Apr 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 couch-login.js
View
@@ -37,6 +37,8 @@ function decorate (req, res) {
session.del('couch_token', cb || function () {})
}
}
+
+ return this
}
CouchLogin.prototype =

0 comments on commit 1ea4391

Please sign in to comment.