From d67133aca7c088f26675f35cb057105d5633080d Mon Sep 17 00:00:00 2001 From: Stavros Date: Sun, 26 Jan 2025 18:32:47 +0200 Subject: [PATCH] fix: get correct username from query params --- site/src/pages/unauthorized-page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/pages/unauthorized-page.tsx b/site/src/pages/unauthorized-page.tsx index ef51966..2a92f74 100644 --- a/site/src/pages/unauthorized-page.tsx +++ b/site/src/pages/unauthorized-page.tsx @@ -6,7 +6,7 @@ import { Navigate } from "react-router"; export const UnauthorizedPage = () => { const queryString = window.location.search; const params = new URLSearchParams(queryString); - const username = params.get("email"); + const username = params.get("username"); const { isLoggedIn } = useUserContext();