emmenko / redux-react-router-async-example

A showcase of the Redux architecture with React Router
http://emmenko.github.io/redux-react-router-async-example
MIT License
936 stars 131 forks source link

Correct nextPath for redirect after login #39

Closed jagare closed 8 years ago

jagare commented 8 years ago

This bug doesn't currently affect the behavior since the default nextPath after login is /account and the same path is the only Route using nextPathname through requireAuth in Root.js. But if you add requireAuth for another Route redirect will not be correct without this fix.

emmenko commented 8 years ago

Nice catch, thanks!

jagare commented 8 years ago

Thank you for an awesome example and a rapid merge!