This might be a dumb question but I’m trying to authenticate users of my site using the CakePHP authentication plugin, and I’m following the guide here: https://book.cakephp.org/authentication/1.1/en/index.html.
I’m confused about how I actually perform the action of authenticating someone. Say I have a table accounts with email and password fields that need to match up with the email and password entered in a form in the login page. What do I actually need to write in my controller to perform this authentication? Where do I tell it to use this table with these fields? Or am I doing this entirely wrong? Apologies if this is a dumb question, I’m very new to CakePHP.