I am currently working on my first laravel project, and I ran into a problem.
If you have experience with laravel, you probably know that by invoking php artisan make:authyou will get a predefined mechanism that processes login and registration.
This mechanism is designed to understand a couple of commonly used words to automate the entire procedure.
The problem that occurs in my case is that I am using oracle db and this will not allow me to have a table column with a name passwordbecause it is a system keyword and it causes errors when trying to insert a user.
So far, I have tried to change the column passwordto passwd, and it worked in my registration form, as expected. The user line was successfully inserted and my page was redirected to / home.


But when I try to log out and then rewrite, I get this error telling me that my credentials are incorrect.

As for my code, I changed mine RegisterController.phpso that instead of the email name, instead of the email name, the username
protected function validator(array $data)
{
return Validator::make($data, [
'username' => 'required|max:50|unique:ECON_USERS',
'passwd' => 'required|min:6|confirmed',
]);
}
protected function create(array $data)
{
return User::create([
'username' => $data['username'],
'passwd' => bcrypt($data['passwd'])
]);
}
Custom $ fillable
protected $fillable = [
'username', 'passwd'
];
I assume Auth is trying to authenticate using email, not usernameor what Auth is looking for password, notpasswd