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

Switching user is incorrectly tracked #501

Closed
kucrut opened this issue May 3, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@kucrut
Copy link
Contributor

commented May 3, 2014

Related to #434, when switching user using the User Switching plugin, Stream only tracks the logging out part of the first user, when it should be tracking the logging in part of the second user. Also, when switching back, Stream doesn't log anything.

@kucrut kucrut added the bug label May 3, 2014

@shadyvb

This comment has been minimized.

Copy link
Contributor

commented May 7, 2014

Seems like user-switching plugin does it magic before Stream registers any connectors, racing condition on the 'init' hook.

@shadyvb

This comment has been minimized.

Copy link
Contributor

commented May 7, 2014

On #513 , changing the priority of the init action in user-switching plugin to 20 here made the it log login/logout actions when i use 'Switch to/off' functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.