aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Login.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/Login.tsx')
-rw-r--r--frontend/src/components/Login.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx
index d33e25e..545f724 100644
--- a/frontend/src/components/Login.tsx
+++ b/frontend/src/components/Login.tsx
@@ -17,8 +17,7 @@ const Login: React.FC<LoginProps> = ({ setToken, profile, setProfile }) => {
17 const navigate = useNavigate(); 17 const navigate = useNavigate();
18 18
19 const _login = () => { 19 const _login = () => {
20 setToken("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzI3Nzg0NTEsIm1vZCI6ZmFsc2UsInN1YiI6Ijc2NTYxMTk5MDg4MjU3MDk4In0.MwYcAy1q463-A2qxLn3Dk4T7ECwta_x4h-CJOTB6VZY"); 20 window.location.href = "/api/v1/login";
21 // window.location.href = "/api/v1/login";
22 }; 21 };
23 22
24 const _logout = () => { 23 const _logout = () => {