meteor-user-session
meteor-user-session copied to clipboard
fixes https://github.com/BenjaminRH/meteor-user-session/issues/1
This fixes the issue where UserSession methods can not be used in onLogin etc callbacks and publish functions.
https://github.com/BenjaminRH/meteor-user-session/issues/1
The fix, briefly, is to not call Meteor.userId() unless userId is undefined and Meteor.isClient is true.
Any ETA when this will be merged? Running into the same issue inside the onLogin handler.
https://github.com/jmoseley/meteor-user-session published as jmoseley:meteor-user-session.