if (!Auth::attempt(["email" => $data["email"], "password" => $data["password"]], true)) {
return response()->json(["code" => 201, "data" => null, "msg" => ""]);
}
Cache::put(Auth::user()["user_id"], 120);
var_dump(Cookie::get());die;
after logging in, remember_token is not written in the browser
excuse me, did I write something wrong? Or which files are not configured