meteor/todos

Redirect after login takes you to the last visited/active list [support request]

Opened this issue · 0 comments

Where is that logic?

Using Win 32
Meteor 1.4

I am trying to find out if the logic that redirects the user to the last visited/active list is on the todos app code base or on one of the other accouts* packages.

Any help is appreciated.

I bring this up because I was able to get the meteor-accounts-ldap and meteor-accounts-ldap-ionic packages working with the todos app as a Proof of Concept, gut I am not able to recreate the behaviour to redirect to the last visited/active list after login.

I have somewhat made it worked by adding Accounts.onLogin(function() { FlowRouter.go('Lists.show', Lists.findOne()); }); on in root-redirector but I do not know if this is the right way, fills a little bit hackish.