absmach / magistrala-ui

UI Repository for Magistrala IoT
9 stars 15 forks source link

[BUG] Returning to Login page is possible after logging in #47

Open dborovcanin opened 8 months ago

dborovcanin commented 8 months ago

Is there an existing issue for this?

What were you trying to achieve?

I'm trying to access the login page while logged in.

What are the expected results?

I expect to be redirected to the dashboard.

What are the received results?

If I go directly to the login page - I get an error page - see additional information. If I go back in history, I access the login form.

Steps To Reproduce

Register, login, try to access login again 1) by typing the address in the address bar or 2) going back in hisotry.

In what environment did you encounter the issue?

The latest build of both UI and core services as of the time of this issue. Docker Compose version 2.23.3, Docker version 24.0.7, Brave browser 120.1.61.104.

Additional information you deem important

When I directly access: image

When I go back: image