🛂(frontend) redirect to correct url after login

If a user wanted to access a doc but was not logged in,
they would be redirected to the login page.
After logging in, they would be redirected to the home page.
This change makes it so that they are
redirected to the doc they originally wanted to access.

Usefull from the mail sent to the user to access the doc
they were invited to.
This commit is contained in:
Anthony LC
2024-08-16 14:51:42 +02:00
committed by Anthony LC
parent a925b0bedf
commit 0512af273c
9 changed files with 58 additions and 52 deletions

View File

@@ -99,7 +99,7 @@ jobs:
test-e2e:
runs-on: ubuntu-latest
needs: build-front
timeout-minutes: 15
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4