khaledz
2 months ago
110
11
Laravel

Change column names for the auth

Posted 2 months ago by khaledz

Hi,

I'm working with an old project written in PHP and I want to configure my user eloquent model to the table called "members". this can be archived easily. However, I want to change the email and password name to be: memberemail & memberpassword in both RegisterController and LoginController.

How do that? The registration looks working fine but I'm struggling with LoginController.

my Laravel version is 5.8

Any suggestion? Thanks

Please sign in or create an account to participate in this conversation.