added store credentials

This commit is contained in:
ACoolName 2023-12-29 13:25:27 +02:00
parent d03b352e22
commit 5ab29611f8

View File

@ -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) {