This is a web dashboard to be used with MolSSI's [Simulation Environment for Atomistic and Molecular Modeling](https://molssi-seamm.github.io) (SEAMM). This dashboard will allow users to view results of their calculations (jobs), keep track of their simulation procedures (flowcharts), and group their jobs into projects.
This PR adds behavior for when an invalid cookie is encountered. This might happen if the jwt-secret-key the app is run with is changed while there is a cookie stored in the browser. The behavior that has been added is for two cases:
If an invalid cookie is encountered and the user is in a browser, the dashboard will redirect the user to the logout page which automatically removes the invalid cookie and displays the message "You have been logged out."
If the user is not in a browser, a message telling them their cookie is invalid is returned and that they should clear their cookie.
This PR adds behavior for when an invalid cookie is encountered. This might happen if the
jwt-secret-key
the app is run with is changed while there is a cookie stored in the browser. The behavior that has been added is for two cases: