gothinkster / react-redux-realworld-example-app

Exemplary real world application built with React + Redux
https://react-redux.realworld.io
MIT License
5.55k stars 2.5k forks source link

authorized pages problem #126

Closed bakbuz closed 5 years ago

bakbuz commented 5 years ago

How can I redirect authorized pages to the login page

eg. http://localhost:4100/editor http://localhost:4100/settings

eyalabadi98 commented 5 years ago

Following. If a user tries to access a page and they are not logged in it lets them through to that page