meteor-user-session icon indicating copy to clipboard operation
meteor-user-session copied to clipboard

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

Open kevb opened this issue 11 years ago • 2 comments

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.

kevb avatar May 06 '14 14:05 kevb

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

josebalius avatar Jan 08 '15 19:01 josebalius

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

jmoseley avatar Feb 01 '16 02:02 jmoseley