Skip to content

snipe-it auto-loggs out other sessions #14126

Closed Answered by gettalong
axkibe asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks again for the pointers! I found the culprit.

Using php artisan route:list -vvv --path=admin I found that after \Illuminate\Auth\Middleware\Authenticate the Illuminate\Session\Middleware\AuthenticateSession middleware is run before the application stack.

And inside the handle() method the following part logs the user out:

https://github.com/laravel/framework/blob/11.x/src/Illuminate/Session/Middleware/AuthenticateSession.php#L63-L65

I'm not sure why the password hash changes, though, since the password didn't change. However, after disabling "LDAP Password Sync" it now works and I can login multiple times concurrently!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@snipe
Comment options

@gettalong
Comment options

@snipe
Comment options

@gettalong
Comment options

Answer selected by snipe
@snipe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants