For a historical reason, the table that contains the users to my app is called Youmans. I want to keep it that way. When I set up authentication all goes well until I put in the email and password and submit. At that point, I get an error message
Table class for alias Users
could not be found
I have dug around in the forums here and only found one post that asked this question. that post was answered in a sort of snide way saying “why would you want to have a different table name” but did not deal with the issue at all.
I have also found some articles across the web with solutions but they seem to apply to an older version. one solution involved jiggering with the parameters to the functions where field names can be changed. In the current version this happens in $authenticationService->loadAuthenticator . applying this change brought a 500 error. The other solution I found suggested that so long as models existed named UsersTable and Users these could of course apply to a different table via $this->setTable(“Youmans”) . i did this and it dos not work.
Hoping someone can provide some insight as to how to use a different table name versus Users. Changing the table name will be difficult at best. Likely it would be easier at this point to change framework or jigger my own authentication system