Open samcool2010 opened 6 years ago
The cookies expire after 30 minutes of not using. It will automatically log you out if you are not online for specific period of time. But we will have to look into logging the user out as soon as he closes the tab.
If you have logged in and go to the the url /login, you are still required to type in your information even though at the top right it has you logged in.
We either need to have the page /login automatically log out the user (in flask) or we can find a way where if you are already logged in, going to /login will just automatically redirect you to /searchpage