diff --git a/backend/app/Http/Controllers/AuthLoginController.php b/backend/app/Http/Controllers/AuthLoginController.php index 1fb4073..ca3ef21 100644 --- a/backend/app/Http/Controllers/AuthLoginController.php +++ b/backend/app/Http/Controllers/AuthLoginController.php @@ -28,7 +28,7 @@ public function handler(Request $request) $response = new Response(json_encode(auth()->user())); return $response ->withHeaders(['Cache-Control' => 'no-cache, private']) - ->withCookie(cookie("Authorization", $token, 3600, null, null, false, true)); + ->withCookie(cookie("Authorization", $token, 60, null, null, false, true, false, "none")); } catch (Exception $error) { return response()->json(json_decode($error->getMessage()), 401); }