Strapi /auth/local api throws 500 error for wrong password or email not confirmed

Me too! I get the Internal Server Error when ever credentials are wrong, at that time, it prints correct errors in the server console/terminal.

When passed correct credentials it just works.

But for wrong credentials, it should have sent error that should state what exactly is wrong with credentials.

My Strapi version is 4.16.2.
I have not added Redis yet.
I am using PostgreSQL.

1 Like