Skip to content

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

Open
kevb wants to merge 2 commits into
BenjaminRH:masterfrom
kevb:master
Open

fixes https://github.com/BenjaminRH/meteor-user-session/issues/1#3
kevb wants to merge 2 commits into
BenjaminRH:masterfrom
kevb:master

Conversation

@kevb

@kevb kevb commented May 6, 2014

Copy link
Copy Markdown

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
Copy Markdown

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

@jmoseley

jmoseley commented Feb 1, 2016

Copy link
Copy Markdown

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