ant-digitalSolutions / antScriber-ui

0 stars 0 forks source link

User not redirected to log in view when not logged in #45

Closed flechilla closed 11 months ago

flechilla commented 1 year ago

Detailed Description: When a user is not logged in and attempts to access a restricted route, they should be redirected to the log in page. However, this is not currently happening.

Steps to Reproduce:

  1. Open the application.
  2. Access a restricted route without being logged in.
  3. The user should be redirected to the log in page, but they remain on the current page.

Possible Solutions: In the route authorization logic, update the code to redirect the user to the log in page when they are not logged in and attempting to access a restricted route.