added store credentials
This commit is contained in:
parent
d03b352e22
commit
5ab29611f8
@ -11,6 +11,7 @@ export const fetchToken = async (username: string, password: string, remember: b
|
||||
password: password,
|
||||
remember: remember,
|
||||
}, {
|
||||
withCredentials: true
|
||||
});
|
||||
return response.data.access_token;
|
||||
} catch (error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user