lundi 20 avril 2015

Cant use req.user in another controller

I'm using an angular-fullstack-generator with sequelize.

I have a problem, i need to use the logged User object (req.user) in another controller (with another Model), not in User controller.

But req.user in the other controller is undefined. any idea?

Thanks

Aucun commentaire:

Enregistrer un commentaire