SenseTecnic / node-red-contrib-users

A node used to quickly build a simple user system to control access to your http nodes on Node-RED.
15 stars 12 forks source link

Is this even updated? #13

Closed Patriciawa closed 4 years ago

Patriciawa commented 4 years ago

Is this even updated? I noticed that it uses bcrypt 2.0.1 while version 5..0.0. is available, you can't even download version 2.0.1 that's probably why I can't install this via npm as it requires bcrypt 2.0.1. When installing this manually it doesn't work. I am not getting any errors via the debug node. Anyone else having this?

tedhuang commented 4 years ago

Thank you for bringing this up. This has been fixed in the latest version on npm.

Patriciawa commented 4 years ago

Hi thanks for updating this! However when going to the login screen I am getting a "Server error: oops.. something went wrong..." when clicking login When adding a debug node it produces the following: "JWT cookie name is not set" 14-6-2020 00:33:16node: 6716707f.702fc msg : string[33] "Deprecated call to msg.res.status" 14-6-2020 00:33:16node: d1826cb2.c615f msg.payload : Object { empty } 14-6-2020 00:33:16node: d1826cb2.c615f msg.payload : Object { empty } 14-6-2020 00:33:16node: fe64f419.139878 msg : error "Error: Cannot set headers after they are sent to the client" Edit: it works now, guess I did something wrong.