bnoguchi/mongoose-auth

log debug

Opened this issue · 4 comments

Hi thks for this super useful project
Just a quick question, logs work fine when I clone the project and run the demo from the example folder
but if I copy the folder rename var mongooseAuth = require('../index'); to var mongooseAuth = require('mongoose-auth');
and install the dependency via npm the auth steps are not logged anymore

Add this:

var everyauth = require('everyauth');
everyauth.debug = true;

I did but for some reason, its not logging anything
here is what I did

  • npm init
  • npm install mongoose-auth
  • cp -R node_modules/mongoose-auth/example/* .
  • update var mongooseAuth = require('../index'); to var mongooseAuth = require('mongoose-auth');
  • everyauth.debug = true; is already set in the example file

the sample works fine, i can login with facebok but nothing is printed in the console

Same problem here. Using mongoose-auth@0.0.12 and everyauth@0.2.30.

The issue should be reopened IMHO.

^ Same problem here