Hi there I am new to laravel and I am trying to code functionality of my login form here are the codes:
this is how I create new user (works well)
public
Fool me! Although I have checked it many times, I could not see the line 'username' => 'email', in auth config file.
'username' => 'email',
it should be 'username' => 'username', since I am going to use username for login.
'username' => 'username',