log debug
Opened this issue · 4 comments
pgherveou commented
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
bnoguchi commented
Add this:
var everyauth = require('everyauth');
everyauth.debug = true;
pgherveou commented
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
aadamowski commented
Same problem here. Using mongoose-auth@0.0.12 and everyauth@0.2.30.
The issue should be reopened IMHO.
danielmahon commented
^ Same problem here