Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When users temporarily lose connection they get logged into other user accounts #149

Open
alexskrms opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@alexskrms
Copy link

alexskrms commented Sep 15, 2023

Summary

When users use freescout normally, they suddenly receive a popup (Internet connection lost). After that, they do Ctrl + R to refresh and they get logged in with other users that they are not.

Steps to reproduce

  1. Login normally to freescout.
  2. Use It normally (Somehow lose connection, maybe this can be forced to try).
  3. When the popup appears refresh the webpage (Ctrl + R or Refresh via button in the browser).
  4. You will notice you are now in another user account seeing their preference and support channels and being able to modify everything.

What is the expected correct behavior?

The correct behaviour is that it should not log out and then log in with other accounts that are not the same as they were previously logged in.

Relevant logs and screenshots

No screenshots.

Environment

  • Image version / tag:
  • Host OS: Debian
Any logs | docker-compose.yml version: '2'

services:
freescout-app:
image: tiredofit/freescout:latest_php8.2
container_name: freescout-app
ports:
- 8252:80
links:
- freescout-db
volumes:
### If you want to perform customizations to the source and have access to it, then uncomment this line - This includes modules
#- ./data:/www/html
### Or, if you just want to use Stock Freescout and hold onto persistent files like cache and session use this, one or the other.
- ./data:/data
### If you want to just keep the original source and add additional modules uncomment this line
- ./modules:/www/html/Modules
- ./logs/:/www/logs
environment:
- CONTAINER_NAME=freescout-app
- DB_HOST=freescout-db
- DB_NAME=freescout
- DB_USER=root
- DB_PASS=testpassword
- SITE_URL=https://support.testurl.com
- ADMIN_EMAIL=[email protected]
- ADMIN_PASS=testpassword
- ENABLE_SSL_PROXY=FALSE
- DISPLAY_ERRORS=FALSE
- TIMEZONE=Europe/Madrid
restart: always

freescout-db:
image: tiredofit/mariadb
container_name: freescout-db
volumes:
- ./db:/var/lib/mysql
environment:
- ROOT_PASS=testpassword
- DB_NAME=freescout
- DB_USER=root
- DB_PASS=testpassword
- CONTAINER_NAME=freescout-db
restart: always

freescout-db-backup:
container_name: freescout-db-backup
image: tiredofit/db-backup
links:
- freescout-db
volumes:
- ./dbbackup:/backup
environment:
- CONTAINER_NAME=freescout-db-backup
- DB_HOST=freescout-db
- DB_TYPE=mariadb
- DB_NAME=freescout
- DB_USER=root
- DB_PASS=testpassword
- DB_DUMP_FREQ=1440
- DB_DUMP_BEGIN=0000
- DB_CLEANUP_TIME=8640
- COMPRESSION=BZ
- MD5=TRUE
restart: always

Possible fixes

No fix right now

@alexskrms alexskrms added the bug Something isn't working label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant