Hello
I am trying to do authentication in Laravel, but after filling in the fields in the authorization form, an error pops up: 
and there below is a whole bunch of everything else - like a snowball ...
Here are the routes:
// Маршруты аутентификации... Route::get('auth/login', 'Auth\AuthController@getLogin'); Route::post('auth/login', 'Auth\AuthController@postLogin'); Route::get('auth/logout', 'Auth\AuthController@postLogin'); // Маршруты регистрации... Route::get('auth/register', 'Auth\AuthController@getRegister'); Route::post('auth/register', 'Auth\AuthController@postRegister'); And the error itself occurs in this place:
protected function validateLogin(Request $request) { $this->validate($request, [ $this->loginUsername() => 'required', 'password' => 'required', ]); } I do not understand where I get this method validate? Because everything was created not manually, but simply using php artisan make:auth