我試圖做Auth:logout();
,但即時獲取此錯誤。我真的需要這個專欄嗎?或者我可以避免這個問題?未找到列:1054'字段列表'中的未知列'remember_token'?
Route::get('/logout', '[email protected]');
public function logout(){
Auth::logout();
return response()->json([
'isLoggedIn' => false
]);
}
沒錯!它缺失。 :) –