removed auth header
This commit is contained in:
parent
e7b0a55ba0
commit
e7e23549f7
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user