Closed TyByers21 closed 4 days ago
in case anyone is having the same issue, make sure that your api.ts file has this update:
// ============================== SIGN IN export async function signInAccount(user: { email: string; password: string }) { try { const session = await account.createEmailPasswordSession(user.email, user.password);
return session;
} catch (error) { console.log(error); } }
I see several people are having the same issue, but I'm not seeing any solutions. My user is being created on the Appwrite side with the SignUp form, but everytime I try to sign in, I get the toast message "Login failed. Please try again"