davide.cucurnia@vola.it
2024-02-05 a4fbcbb07a11122ac35c9d793e0bf8a9ae93efed
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);