Skip to content

fixes https://github.com/BenjaminRH/meteor-user-session/issues/1 #3

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kevb
Copy link

@kevb kevb commented May 6, 2014

This fixes the issue where UserSession methods can not be used in onLogin etc callbacks and publish functions.

#1

The fix, briefly, is to not call Meteor.userId() unless userId is undefined and Meteor.isClient is true.

@josebalius
Copy link

Any ETA when this will be merged? Running into the same issue inside the onLogin handler.

@jmoseley
Copy link

jmoseley commented Feb 1, 2016

https://github.com/jmoseley/meteor-user-session published as jmoseley:meteor-user-session.

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

Successfully merging this pull request may close these issues.

3 participants