davide.cucurnia@vola.it
2024-02-01 555a537e2e5d9220e3777c30b185606823c817f2
app/Http/Controllers/Profiles/ProfilesController.php
@@ -32,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);
@@ -50,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);