``` Meteor.registerBeforeMethod('startTimer', function() { if(!this.userId) return false; // <- just make it not undefined else return }); ``` If MIDLEWARES or BEFORE METHODS returns something different from UNDEFINED the execution stops and return this value! so in my case if user unauthorized, just make it return something?
If MIDLEWARES or BEFORE METHODS returns something different from UNDEFINED the execution stops and return this value!
so in my case if user unauthorized, just make it return something?