Comments (4)
README is updated with new flow. I was trying to make as little as possible for node-red-dashboard changes. Unfortunately it was necessary to make it work.
Thank you for catching it. Otherwise, I won't know about it.
from node-red-dashboard-login.
this is because this is not actual login or session. There is no auth cookie or anything similar. When you login you actually change settings on groups visibility so this settings are changed for any used or any device.
This could be resolved -in theory that session cookie is issued after login, and that session cookie is asked on page load... if session cookie found= True login=false if not found asks for login...
Unfortunately I dont know how to put that in practice
from node-red-dashboard-login.
Please read section "Multiple Users" from https://flows.nodered.org/node/node-red-dashboard.
You can also find similar topic by googling.
If you check msg object out of "Dashboard Sing-in" node, you will see socketid property. This value should be passed down to ui-control ""5c0b7126.396e8"(Go to Sensor/History Group) in order to work with the current flow.
Ultimately socketid has be managed by node-red-dashboard (ui.js) and make emit functions operational if socketid is valid. (session timeout, logout) should clear socketid.
from node-red-dashboard-login.
README is updated with new flow. I was trying to make as little as possible for node-red-dashboard changes. Unfortunately it was necessary to make it work.
Thank you for catching it. Otherwise, I won't know about it.
Thank you! It work much better now
from node-red-dashboard-login.
Related Issues (12)
- Please publish the complete flow HOT 2
- Security HOT 3
- Not an issue HOT 1
- cards still apear HOT 9
- Logoff button HOT 3
- Disable Side Menu HOT 2
- Hide/Show Flows HOT 2
- Get username HOT 1
- Questions Confs. HOT 2
- Deploying to ibm Cloud HOT 1
- sa HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-dashboard-login.