Open rj-david opened 7 years ago
Whenever I call Meteor.logout(), the app momentarily disconnects from the DDP server.
This quick disconnection and reconnection resulted to subscription errors: "No subcription existing for [publication name]"
Do we need Meteor.logout to disconnect from the server?
You should add condition ‘if(Meteor.user())’ before Meteor.subcribe()
Whenever I call Meteor.logout(), the app momentarily disconnects from the DDP server.
This quick disconnection and reconnection resulted to subscription errors: "No subcription existing for [publication name]"
Do we need Meteor.logout to disconnect from the server?