Hello my people! issue here. I´m usign auth-astro to manage logins in my site. I´m trying to intregate the credentials provider, buuuut when I make a bad request ("wrong password"), in the browser I get a success message, while on the server console I get the error I need to show!!! Help!! How can I solve this???
Here is my config code.
const isPasswordValid = await bcrypt.compare(password, user.password); if (isPasswordValid) { // Password is valid, return the user object return user } else { throw new Error("Contraseña incorrecta") }
PD: "Contraseña incorrecta" is wrong password in mexican🧦