From b66ce181e6317cdcefdcc0b25e4ce0efbdaf995a Mon Sep 17 00:00:00 2001 From: bnoguchi Date: Tue, 12 Apr 2011 12:07:09 -0700 Subject: [PATCH] Updated README to incorporate everyauth relationship. --- README.md | 5 +++++ test/authplugin.test.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82cf50b..f1edffe 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ mongoose-auth does 3 things: 3. (optional) Dynamic helpers for (express)[https://github.com/visionmedia/express] apps. +It integrates the [everyauth](https://github.com/bnoguchi/everyauth) module +to help it take care of the routing and helpers. everyauth is a general +purpose npm module for authentication & authorization that can be used +independently of mongoose. + ## Schema Decoration As you add successive authorization strategies, mongoose-auth at a bare diff --git a/test/authplugin.test.js b/test/authplugin.test.js index 664386c..e06bc05 100644 --- a/test/authplugin.test.js +++ b/test/authplugin.test.js @@ -1,7 +1,7 @@ var should = require('should') , mongoose = require('mongoose') , UserSchema = new mongoose.Schema() - , authPlugin = require('../index').authPlugin + , authPlugin = require('../index') , User; UserSchema.plugin(authPlugin, {