Username and Password Auth fail

Hi folks,

I followed the tutorial https://book.cakephp.org/4/en/tutorials-and-examples/blog-auth-example/auth.html
…to build my app Auth.

But when I log in, I encounter the error “Username and password invalid”.

My Users table is correct with the username and password.

I’ve tried everything.
Any suggestion?

Thank you

I build myself a sort of 10-step checklist which helps me to do the right steps. Maybe it helps you to get things up and running:

My 10 step authentication plugin install (CakePHP 4)

Make sure the URL is /users/login. I have tons of issues with that.

Make sure that your password is not a hash password. Try delete the old and create a new.
When you implement hash encrypt u need make new password.
look the users table on the phpMyAdmin. If u get read the password, this is wrong!