BenjaminRH/meteor-user-session — pull request #3 by kevb (2014-05-06 14:09:21+00:00)
Title: 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.