Iron router onBeforeActions is redirecting to startpage
问题 I use onBeforeActions to check if users are logged in, if their profile is incomplete or disabled. This seems to work correctly. But now the problem is whenever I directly go to a page within the app, I get redirected to startPage as well. I debugged and discovered 'user' is undefined, although I'm logged in. I use accounts-fb & -tw and account-ui packages. How can I make sure the user is logged in? I don't understand the correct timing of the functions.. edit: Locally I don't always seem to