removed auth header

This commit is contained in:
ACoolName 2024-05-25 01:39:30 +03:00
parent e7b0a55ba0
commit e7e23549f7

View File

@ -47,9 +47,6 @@ export function SignupPage(props: {}) {
() => {
fetchToken(username, password, true).then(
(token) => {
api.defaults.headers.common.Authorization = `Bearer ${token}`;
;
Cookies.set('token', token)
setApiAuthenticated(true)
},
(error) => {