fix: get correct username from query params

This commit is contained in:
Stavros
2025-01-26 18:32:47 +02:00
parent 989ea8f229
commit d67133aca7

View File

@@ -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();