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