Meteor account disconnected while page refresh in accounts-ui package. I am checking Meteor.userId() on Flow routing.
appRoute.route(’/setting’, {
 
             
            
              
            
                
           
          
            
              
                ralof  
              
                  
                    August 26, 2016,  1:21pm
                   
                  2 
               
             
            
              It takes a while to log in the user after a hard page load, you can check it with:
if (Meteor.loggingIn()) {
                this.render('loading');
            }
            else 
            
              
            
                
           
          
            
            
              Meteor.loggingIn() returns false and not working with it.
             
            
              
            
                
           
          
            
              
                ralof  
              
                  
                    August 26, 2016,  1:57pm
                   
                  4 
               
             
            
              You mean Meteor.loggingIn() returns false and Meteor.user() is undefined at the same time?