I am brand new on this forum, but I am using Laravel since less than a year now (seeing the evolution since 5.0 and the amazing job done untill 5.3 !).
The reason of this topic is that I would like to use Laravel to build up an authentication system. I gave a shot to the existing Laravel Authentication system available for version 5.3 (https://laravel.com/docs/5.3/authentication).
First I am using database method and not model method, so the configuration of my /config/auth.php file looks like this :
'providers' => [
// 'users' => [
// 'driver' => 'eloquent',
// 'model' => App\User::class,
'users' => [
'driver' => 'database',
'table' => 't_e_utilisateur_uti',
(.env is correctly set up to talk to my "localhost" database)
Then I liked the fact that we can customize the query to specify our own column name for the username, which in my case is not "email" but "uti_email". So I used the code below :
public function username()
And added it to the existing /app/Http/Auth/LoginController.php file.
All works like a charm, but now I am stuck to specify my password field, which is not by default "password", but "uti_password". Is there any function like username() but for password ?