LLemMar 4, 2018
How to store different session in passport local
I have two type of users a normalUser and an adminUser. How can I store their sessions on a different variable so that i can use them on my template engine for viewing specifically for if else blocks. Normally its stored like. req.user is it possible...
Join discussion