Sunday, 15 September 2013

node.js - NodeJS + Passport - Different Logins -


I have two different "users" (more tables, because these two groups are completely different things): users and entities . At the same time, both can be entered. But there are different restrictions on different pages.

According to this discussion, managing an authentication type is easy. But how do I go about allowing two different types of?

I am basically working with req.isAuthenticated () always true when there is any type of log, which is not obvious What i want

Thanks,


No comments:

Post a Comment