Skip to content

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