Description of the bug
When bypassing the login page and accessing /reminders without login, the reminders template page shows but refreshes infinitely.
To Reproduce
Be sure not to be logged in
Access the /reminders page by entering the address manually
Notice how the client tries to communicate with the api but with a null value for api_key
See the page refreshing like a tree on christmas
Expected behaviour
Be redirected to the login page instead.
Description of the bug When bypassing the login page and accessing /reminders without login, the reminders template page shows but refreshes infinitely.
To Reproduce
/reminders
page by entering the address manuallyapi_key
Expected behaviour Be redirected to the login page instead.
Screenshots N/A
Additional context This is caused by the general js code.
I found out about this issue by clicking on
/reminders
in the url address bar thinking it would automatically bring me to the login page.