zznicole / shopping-list

Ourshoppinglist is a Mobile-first Web application project. It was created by a team of two developers, using modern Javascript, ES6, React.js,Node.js DBOO database, Material UI, Arios......
0 stars 0 forks source link

When going to login screen, if user is logged in, go to ListsScreen #37

Closed kft-a closed 3 years ago

kft-a commented 3 years ago

In server.js, set cookie loggedIn at log in. Clear the same cookie at session timeout or new sessions. In LoginScreen, redirect to /lists if loggedIn is set. Fixed in commit #86269d05f on master.