Based on my test in this repo, I am not able to get FlowRouter to redirect to any other page than the homepage after login/signup.
I have no explicit redirects to the homepage. Even so, after login, I am redirected to the homepage. This might be nice in some cases, but is a nuisance when I want to redirect back to a specific page.
In addition to the example in the above repo, I also tried this:
Accounts.onLogin(function(){
if (Meteor.isClient) {
FlowRouter.go('about')
}
})
This is ignored and I am still redirected to the homepage.
Please show me an example of getting FlowRouter to not redirect to the homepage after login.
This is related to this question that I asked earlier.
Also, as per your recommendation, I will be sure to search my own repo as part of debugging, which would have uncovered the redirect in the login form, which I must have added a long time ago and forgotten about.