node-js-express-login-example
node-js-express-login-example copied to clipboard
Node.js Express Login example (with Registration) using JWT, Cookies, MySQL database
could you please tell me what else do I need to edit in the project,in my develope env signin api return info json ,but does not return a token, much...
Hi, I just followed the steps you posted on https://www.bezkoder.com/node-js-express-login-example/#Configure but it looks like you didn't send the jwt token back in the response body. You've used the session id...
Roles are already created in the initial function in server.js. With `db.ROLES = ["user", "admin", "moderator"];` in app/models/index.js they are double hardcoded. In checkRolesExisted function they are now pulled from...