Select database table manually for login Authentication

$this->loadComponent(‘Auth’,[
‘authenticate’=>[
‘Form’=>[
‘fields’=>[
‘username’=>‘username’,
‘password’=>‘password’
]
]
],‘loginAction’=>[
‘controller’=>‘Login’,
‘action’=>‘login’
],‘loginRedirect’=>[
‘controller’=>‘Login’,
‘action’=>‘create’
]
]);
Hi,i am using this to authenticate login.It is automatically retrieving data from users table … I want to retrieve data from login table that is already in database…How can i do that >? Please help.
Controller name =LoginController
template=login/login.ctp

https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers

  • userModel The model name of the users table; defaults to Users.