【发布时间】:2019-09-20 10:22:50
【问题描述】:
我可以正常注册,但是当我要登录时,这里会出现一个错误,例如 -
The Response content must be a string or object implementing __toString(), "boolean" given
在我的登录控制器中 -
public function login(Request $request){
Sentinel::authenticate($request->all());
return Sentinel::check();
}
在 web.php 中
Route::post('login', 'LoginController@login');
【问题讨论】:
标签: laravel