From 1770eb3e8e9c39866038b32e775dd386a8cb8de2 Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 25 Jun 2025 20:26:57 +0300 Subject: [PATCH] refactor: redirect to root page when no username or ip is provided in the unauthorized page --- frontend/src/pages/unauthorized-page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/unauthorized-page.tsx b/frontend/src/pages/unauthorized-page.tsx index 25625f1..e0bd6ca 100644 --- a/frontend/src/pages/unauthorized-page.tsx +++ b/frontend/src/pages/unauthorized-page.tsx @@ -20,7 +20,7 @@ export const UnauthorizedPage = () => { const ip = searchParams.get("ip"); if (!username && !ip) { - return ; + return ; } const { t } = useTranslation();