From 4cc31d50baae7fea05cae502ffc2972b8a8ec165 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:48:28 +0300 Subject: xdd --- frontend/src/components/Login.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend/src/components') diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx index 77236ce..a8c5503 100644 --- a/frontend/src/components/Login.tsx +++ b/frontend/src/components/Login.tsx @@ -17,8 +17,7 @@ const Login: React.FC = ({ setToken, profile, setProfile }) => { const navigate = useNavigate(); const _login = () => { - setToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzExNjU1NTgsIm1vZCI6dHJ1ZSwic3ViIjoiNzY1NjExOTgxMzE2Mjk5ODkifQ.KoENjj6Z41-QQu1VKvgAiACsjLK7IoVWlJgrGdr6s24"); - // window.location.href = "/api/v1/login"; + window.location.href = "/api/v1/login"; }; const _logout = () => { -- cgit v1.2.3