Comments (9)
I don't see security leak here. Even if I change the code of "auto-login module" to log off current user, you will be able to use your previous user account when you open traccar web UI directly. If your use case is to switch users on same computer and in same browser, then yes, you have to log off manually. I believe this behaviour is usual and expected for a majority of web applications.
from traccar-web.
I think you are right, that this is not a security issue.
But I do not agree that this bevaiour is expected.
If I call a link with included login data, I don't expect to see another acoount.
As I wrote, for me it is no problem.
So maybe we close this thread.
Btw. I just downloaded the latest version.
Great work.
I have one account with only device. This devices is now automatically in the list field of the archive; I did not dare to ask for that.
PS
What are the login credentials füor your demoweb site?
from traccar-web.
Well, ok, I will think about it. Let's leave this issue open.
PS you should register yourself on demo - there is a 'Register' button. Just fill your credentials and hit that button.
from traccar-web.
Hi,
Couldn't an option be added so that when the username changes, re-auths?
Best regards,
António
from traccar-web.
You are right, it can. My thought was to log off current user only if authentication succeeds.
from traccar-web.
If the username is different it's best to always force log off. That way, even if the auth fails, it doesn't display previous user data (it should prompt for new auth credentials).
from traccar-web.
If auth fails it prints 'Authentication failed'. By design this servlet's purpose is to try to authenticate, then redirect on success, print error on failure. I don't like the approach to add any UI to the servlet (like prompting for new auth credentials). Maybe it's better to redirect back to the external URL (provided as GET parameter), from where credentials were entered.
Again, this whole use case looks weird for me. I doubt there is a universal solution.
from traccar-web.
"I don't like the approach to add any UI to the servlet (like prompting for new auth credentials)." Your're right. I didn't mean an UI... just the message.
from traccar-web.
Can't this be closed?
from traccar-web.
Related Issues (20)
- Compact or clean database HOT 1
- traccar 4.3 HOT 3
- Not getting data after server rebooted HOT 3
- Managers Shall not view/edit/remove other manager groups, only admin can HOT 4
- incompatibility with database table HOT 2
- Get millage report between 7:00am - 7:00pm during a month, possible? HOT 4
- Updates HOT 2
- Add notifications HOT 1
- travel route HOT 3
- Getting latitude and longitude values for a device HOT 5
- getting google link HOT 1
- compiling error HOT 3
- Device is not shown any longer
- Session Expired after login - Only in Chrome HOT 1
- Notification about time inside geo-fence
- Unable to open password protected pdf in firefox
- Remote procedure call error #1122 HOT 8
- Version HOT 1
- Hi, is this project still alive? HOT 1
- Device not connected in Docker installation 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 traccar-web.