Meteor: Using Flow Router for authentication and permissions
Satya van Heummen
11930

There should be a stop() call in loggedIn > triggersEnter function, just before redirecting to /login. Took me hours of debugging to figure out that if you request an admin route while NOT logged in, it will indeed run loggedIn’s triggersEnter function first, but it will ALSO then run admin’s triggersEnter function (with accompanying redirect) unless you explicitly call stop() in the loggedIn > triggersEnter function.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.