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

Snipe-IT not logging out after PC Restart, forced Browser Closed. #3783

Closed
2 tasks done
JacquesM7 opened this issue Jul 26, 2017 · 4 comments
Closed
2 tasks done

Snipe-IT not logging out after PC Restart, forced Browser Closed. #3783

JacquesM7 opened this issue Jul 26, 2017 · 4 comments

Comments

@JacquesM7
Copy link

JacquesM7 commented Jul 26, 2017

Expected Behavior (or desired behavior if a feature request)

(what you expect to happen goes here)

Once new browser is open for the first time, it will ask you for log in credentials

Actual Behavior

System does not ask for user credentials and remembers last user even after PC restart, new google chrome browser opening or new tab.


Please confirm you have done the following before posting your bug report:


Please provide answers to these questions before posting your bug report:

  • Version of Snipe-IT you're running = v3.6.6 build 1

  • What OS and web server you're running Snipe-IT on = Ubuntu 16, hosted on Digital Ocean

  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) = Manual Install

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
    = dashboard (resources/views/dashboard.blade.php)
    2
    blade
    layouts.default (resources/views/layouts/default.blade.php)
    12
    blade
    notifications (resources/views/notifications.blade.php)
    15
    blade

  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error

  • If a stacktrace is provided in the error, include that too.

  • Any errors that appear in your browser's error console.

  • Confirm whether the error is reproduceable on the demo.

  • Include any additional information you can find in app/storage/logs and your webserver's logs.

  • Include what you've done so far in the installation, and if you got any error messages along the way.

  • Indicate whether or not you've manually edited any data directly in the database

@snipe
Copy link
Owner

snipe commented Jul 29, 2017

What do you have for your session config?
https://snipe-it.readme.io/docs/configuration#section-optional-session-settings

@JacquesM7
Copy link
Author

Hello,

Apologies for the delay. Here are the settings.

OPTIONAL: SESSION SETTINGS

--------------------------------------------

SESSION_LIFETIME=5400
EXPIRE_ON_CLOSE=true
ENCRYPT=false
COOKIE_NAME=snipeit_session
COOKIE_DOMAIN=
SECURE_COOKIES=true

@snipe
Copy link
Owner

snipe commented Aug 3, 2017

What browser(s) are you able to reproduce this on? If it's only Chrome, this may be a Chrome "feature". https://stackoverflow.com/questions/22713483/laravel-expire-session-on-browser-close-not-working-in-chrome

@snipe
Copy link
Owner

snipe commented Aug 22, 2017

Haven't heard back, so I'm going to close this ticket for now, but will re-open it if you're still having issues

@snipe snipe closed this as completed Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants