look in the docs for authentication.. it tells you what to do if you have an extra field..
http://laravel.com/docs/master/authentication#authenticating-users
Hi thank you for the response @shez1983 but... still I cant execute the login page with the fields I set. I'm open with other answer..
thank you
Hi this ticket has been solve..
in AuthenticatesUser.php I add the field I migrated to users table see the code below in line 97
/**
* Get the needed authorization credentials from the request.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
protected function getCredentials(Request $request)
{
return $request->only($this->loginUsername(), 'password', 'customer_code');
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community