From a6a5735e4869ac9835a0b2a1f7740448ecd63449 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Fri, 1 Nov 2024 17:56:35 +0100
Subject: frontend: uploadrundialog.tsx

---
 frontend/src/components/Login.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'frontend/src/components/Login.tsx')

diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx
index 545f724..d33e25e 100644
--- a/frontend/src/components/Login.tsx
+++ b/frontend/src/components/Login.tsx
@@ -17,7 +17,8 @@ const Login: React.FC<LoginProps> = ({ setToken, profile, setProfile }) => {
   const navigate = useNavigate();
 
   const _login = () => {
-    window.location.href = "/api/v1/login";
+    setToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzI3Nzg0NTEsIm1vZCI6ZmFsc2UsInN1YiI6Ijc2NTYxMTk5MDg4MjU3MDk4In0.MwYcAy1q463-A2qxLn3Dk4T7ECwta_x4h-CJOTB6VZY");
+    // window.location.href = "/api/v1/login";
   };
 
   const _logout = () => {
-- 
cgit v1.2.3

