add functionality to prevent anonymous users from accessing homepage.
Estimated Cost / Time:
Small / Medium
Measure of Success
An effective measure of success is for logged in users to be able to access /homepage route but not anonymous users. Also, if logged in users try to access login or register, they should be redirected to /homepage. We can test this by having an anonymous user type in /homepage url and attempt to access it. This should then redirect the user to the login page. We can also have a logged in user attempt to type in /register url and be redirected to homepage.
TODO
add functionality to prevent anonymous users from accessing homepage.
Estimated Cost / Time:
Small / Medium
Measure of Success
An effective measure of success is for logged in users to be able to access /homepage route but not anonymous users. Also, if logged in users try to access login or register, they should be redirected to /homepage. We can test this by having an anonymous user type in /homepage url and attempt to access it. This should then redirect the user to the login page. We can also have a logged in user attempt to type in /register url and be redirected to homepage.