From 555a537e2e5d9220e3777c30b185606823c817f2 Mon Sep 17 00:00:00 2001 From: davide.cucurnia@vola.it <davide.cucurnia@vola.it> Date: Thu, 01 Feb 2024 12:42:00 +0100 Subject: [PATCH] fix logging vecchio --- app/Http/Controllers/Profiles/ProfilesController.php | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Profiles/ProfilesController.php b/app/Http/Controllers/Profiles/ProfilesController.php index f5fd293..3fd9b99 100644 --- a/app/Http/Controllers/Profiles/ProfilesController.php +++ b/app/Http/Controllers/Profiles/ProfilesController.php @@ -23,6 +23,7 @@ { if ($this->authorized) { return view('vodafone_fake_sso.choose_profile', [ + "domain" => Utils::getDomain($_SERVER['SERVER_NAME']), "setUrl" => "/set", "clearUrl" => "/clear" ]); @@ -31,7 +32,6 @@ public function setFakeSSO(Request $request) { - \Log::channel('sso')->debug("Attivo la sessione FakeSSO"); if ($this->authorized) { $json = $request->json()->all(); $expire = time() + (60 * 30); @@ -49,7 +49,6 @@ public function clearFakeSSO(Request $request) { - \Log::channel('sso')->debug("Rimuovo la sessione FakeSSO"); $domain = Utils::getDomain($_SERVER['SERVER_NAME']); if ($this->authorized) { @setcookie('mc_FakeSSO', "", -1, "/", $domain); -- Gitblit v1.8.0