dailybruin / meow

Daily Bruin's homemade social media manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check sign out in frontend issue again

DumboOctopus opened this issue · comments

Molly Wright wasn't able to sign in. From the logs, it look like her login expired. But meow should simply redirect the user to the login page when that happens. So we should check that it does this successfully.
How to check:
Logins are stored via the Sessions model. So using docker-compose run web python meow/manage.py shell we can delete Sessions to simulate session expiration. After deleting the session, we should check whether the front end actually redirects us to the login page.