Network request failed 0 -
When I start a new project and then try to login, I get the error message "Network request failed"
What am I doing wrong?
What am I doing wrong?
success: false, refine automatically displays an error notification. You can customize this error message by resolving the promise with an error object that has name and message properties. Here's an example:Note: you can ask me a follow up question by @ mentioning me again refine default login screen allows you to login with username. Appwrite allows login with email, therefore we need to override the login page. But in the end I'm just poking without a clue success: falseerrormessageNote: you can ask me a follow up question by @ mentioning me againrefine default login screen allows you to login with username. Appwrite allows login with email, therefore we need to override the login page.const authProvider: AuthBindings = {
login: async ({ email, password }) => {
// ---
return {
success: false,
error: {
name: "Login Failed!",
message:
"The email or password that you've entered doesn't match any account.",
},
};
},
// ---
};