diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-18 17:27:06 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2024-10-18 17:27:06 +0200 |
| commit | 7a27e1348539c36b3d7ee91208a7b65055800dee (patch) | |
| tree | 032990a7adffd1e0a9db7d7fc8d9509162b787cd /frontend/src/components | |
| parent | refactor: 21.png (diff) | |
| parent | refactor: nothing to see here (diff) | |
| download | lphub-7a27e1348539c36b3d7ee91208a7b65055800dee.tar.gz lphub-7a27e1348539c36b3d7ee91208a7b65055800dee.tar.bz2 lphub-7a27e1348539c36b3d7ee91208a7b65055800dee.zip | |
Merge branch 'typescript' of https://github.com/pektezol/LeastPortalsHub into typescript
Diffstat (limited to 'frontend/src/components')
| -rw-r--r-- | frontend/src/components/Login.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx index f27a63e..a8c5503 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.eyJleHAiOjE3MzExNjU1NTgsIm1vZCI6dHJ1ZSwic3ViIjoiNzY1NjExOTgxMzE2Mjk5ODkifQ.KoENjj6Z41-QQu1VKvgAiACsjLK7IoVWlJgrGdr6s24"); | 20 | window.location.href = "/api/v1/login"; |
| 21 | // window.location.href = "/api/v1/login"; | ||
| 22 | }; | 21 | }; |
| 23 | 22 | ||
| 24 | const _logout = () => { | 23 | const _logout = () => { |