Permalink
Browse files

expose everyauth

  • Loading branch information...
1 parent 054f570 commit c8ba74f88c700fbc0d2c0d786d6da3df255d3ea8 @oJshua committed Aug 2, 2012
Showing with 5 additions and 3 deletions.
  1. +2 −0 index.js
  2. +3 −3 package.json
View
2 index.js
@@ -82,4 +82,6 @@ exports = module.exports = function plugin (schema, opts) {
// Adds dynamic helpers such as loggedIn,
// accessible from the views
exports.helpExpress = everyauth.helpExpress.bind(everyauth);
+
+ exports.everyauth = everyauth;
};
View
6 package.json
@@ -1,11 +1,11 @@
{
- "name": "mongoose-auth",
+ "name": "mongoose-auth-latest",
"description": "User authentication plugin for mongoose node.js orm",
"version": "0.0.12",
"homepage": "https://github.com/bnoguchi/mongoose-auth/",
"repository": {
"type": "git",
- "url": "git://github.com/bnoguchi/mongoose-auth.git"
+ "url": "git://github.com/oJshua/mongoose-auth.git"
},
"author": "Brian Noguchi <brian.noguchi@gmail.com> (https://github.com/bnoguchi/)",
"main": "./index.js",
@@ -30,4 +30,4 @@
"engines": {
"node": ">=0.4.0"
}
-}
+}

0 comments on commit c8ba74f

Please sign in to comment.