absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

Redirect to login if cookie not present #205

Closed ianmuchyri closed 4 months ago

ianmuchyri commented 4 months ago

When a user is not logged in and they enter a random URL on the browser linked to Magistrala UI, they should be redirected to the login page to sign up or sign in. Currently, it sends the user to the error page with an error of cookie not found.