Hi I was suggested change it to this in order to get the form data but it doesn’t seem to be working and I’m still getting the same error when I try to sign in
const auth = useMemo(() => ({
login: async (email, password) => {
const bodyFormData = new FormData();
bodyFormData.append('identifer', email);
bodyFormData.append('password', password);
const {data} = await axios({
method: 'POST',
url: 'http://192.168.0.11:1337/auth/local',
data: bodyFormData,
headers: { "Content-Type": "multipart/form-data" },
});