Cakephp 3.0 Login returns false every time
问题 I am trying to log in a user on my Cakephp 3.0 site. My table has a 'username' and 'password' field, named as is. I can add a user and my password is successfully getting hashed and stored in my table. Despite this, I am unable to log in even once. My AppController initialize() method: $this->loadComponent('Auth',['loginAction' => [ 'controller' => 'ShopOwners', 'action' => 'login' ],'authenticate' => [ 'Form' => [ 'fields' => [ 'username' => 'username', 'password' => 'password', ],