packages/lib-react/lib/utils.js
/**
   * Am I signed in? Helps with routing on trigger for router.
   */
Am I signed in. Helps with routing on trigger for router.
Am I signed in . Helps with routing on trigger for router .
checkIfSignedIn() {
    let route;
    if (!(Meteor.loggingIn() || Meteor.userId())) {
      route = FlowRouter.current();
      if (route.route.name !== 'login') {
        Session.set('redirectAfterLogin', route.path);
      }
      return FlowRouter.go("/");
    }
  }
checkIfSignedIn ( ) { let route ; if ( ! ( Meteor . loggingIn ( ) || Meteor . userId ( ) ) ) { route = FlowRouter . current ( ) ; if ( route . route . name !== 'login' ) { Session . set ( 'redirectAfterLogin' , route . path ) ; } return FlowRouter . go ( "/" ) ; } }
Am I signed in?
Am I signed in?