阅读背景:

使用Node.JS将值从一个函数返回到另一个函数

来源:互联网 

I am working on a login interface using the MEAN stack. I have managed to get it to work using PassportJS. My problem now is I need a way to let my client-side know whether the person logging in is an admin or user(user role). These info are available from my MongoDB.I am working on a login interface using the MEA




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: