AG

Results 9 issues of AG

So here is what i am doing: #### routes.js ``` router.get('/logout',security.logoutToken, LogoutController.EmailandLog, LogoutController.DeleteSessions, LogoutController.Redirect); ``` #### security.js ``` exports.logoutToken = passwordless.logout({ successFlash: 'Hope to see you soon.' }); //security.restrictedWithoutToken, FYI...

Hi, I am a bit new to the concept of `csurf` and was wondering if using csurf makes sense while using passwordless. I read that jwt doesn't have to use...

I tired to change the client to mongo and it failed. Has anyone used it? Appreciate help. Thanks

I did the config as follows ``` app.use(expiry(app, { dir: path.join(__dirname, 'public'), duration: 31556900 })); app.use(express.static(path.join(__dirname, 'public'), { maxage: config.oneDay }, { etag: config.etagAllow }, { dotfiles: config.Allowdotfiles })); ```...

Some issue with creating new account

Here is my code ``` var webshot = require('webshot'); var fs = require('fs'); var domain = require('../config').domain; exports.error404 = function(req, res, next) { var err = new Error('Not found'); err.status...

The problem statement is having 3 roles (`A`,`B`,`C`) and unlimited sub-roles for each role i.e. - For role `A`: I have `n` sub roles - For role `B`: I have...

I want to trigger a event as soon a session is destroyed, something like this: ``` var store = new MongoStore() store.on('destroy', function (sess) { // react to your store...