jbowman99's avatar

Login with Username and Password only

I am trying to authenticate a user based only on username and password. Had it working and now it doesn't work.

the change occurred after a switch from sqlite3 to MySql, but from what I can tell nothing was overwritten.

Not sure what i changed, or how it changed. I scanned through all traits and auth controllers and I can see no signs of an email being a required field to authenticate on.

My form itself is returning a whoops!!! error.

0 likes
1 reply
jbowman99's avatar
jbowman99
OP
Best Answer
Level 7
protected $username = 'username';


if anyone runs into this issue this line of code in the AuthController fixed my issue

Please or to participate in this conversation.