Arquisoft / lomap_en2b

LoMap Software architecture group en2b course 2022_23
https://arquisoft.github.io/lomap_en2b
1 stars 1 forks source link

Properly detect that the user is not loged in #119

Closed UO283615 closed 1 year ago

UO283615 commented 1 year ago

Redirect users to the login page when they are not loged in.

jjgancfer commented 1 year ago

When testing #130, the session seemed to follow when I logged in, so it may be fixed by now. Maybe was the same issue as in #123. Could you check if the issue repeats with the refactor?

andrrsin commented 1 year ago

In #131 Request it has been added login as the default page, so you always must login before navigating elsewhere. And when you logut you are redirected to the log in page. There is however a small bug if you reload the page where you are just sent where you where but w/o session