Я могу зарегистрироваться должным образом, но когда я собираюсь войти в систему, возникает ошибка типа -
The Response content must be a string or object implementing __toString(), "boolean" given
В моем LoginController -
public function login(Request $request){
Sentinel::authenticate($request->all());
return Sentinel::check();
}
В web.php
Route::post('login', 'LoginController@login');