From 7a28a6aae98a744730f643cdc8678928fa938957 Mon Sep 17 00:00:00 2001
From: Stefano Pigozzi
Date: Fri, 15 Oct 2021 18:33:01 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Change=20the=20login=20route=20t?=
=?UTF-8?q?o=20`l/logged-in`?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/authorization/AuthorizationLogoutBox.tsx | 2 +-
frontend/src/utils/ParsePath.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/components/authorization/AuthorizationLogoutBox.tsx b/frontend/src/components/authorization/AuthorizationLogoutBox.tsx
index 448df34..accf467 100644
--- a/frontend/src/components/authorization/AuthorizationLogoutBox.tsx
+++ b/frontend/src/components/authorization/AuthorizationLogoutBox.tsx
@@ -66,7 +66,7 @@ export function AuthorizationLogoutBox(): JSX.Element {
- navigate("l/")}>
+ navigate("l/logged-in/")}>
Continue to Sophon
diff --git a/frontend/src/utils/ParsePath.ts b/frontend/src/utils/ParsePath.ts
index 28f5835..91a5f23 100644
--- a/frontend/src/utils/ParsePath.ts
+++ b/frontend/src/utils/ParsePath.ts
@@ -59,7 +59,7 @@ export function parsePath(path: string): ParsedPath {
result.researchGroup = path.match(/[/]g[/]([A-Za-z0-9_-]+)/)?.[1]
result.researchProject = path.match(/[/]p[/]([A-Za-z0-9_-]+)/)?.[1]
result.notebook = path.match(/[/]n[/]([A-Za-z0-9_-]+)/)?.[1]
- result.loggedIn = Boolean(path.match(/[/]l[/]/))
+ result.loggedIn = Boolean(path.match(/[/]l[/]logged-in/))
if(result.instance) {
result.count += 1