Explorar o código

https://assistance.opentalent.fr/browse/V8-2306

Olivier Massot %!s(int64=4) %!d(string=hai) anos
pai
achega
23e4f2951d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ot_connect/Classes/Service/OtAuthenticationService.php

+ 1 - 1
ot_connect/Classes/Service/OtAuthenticationService.php

@@ -433,7 +433,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
      */
     protected function unset_cookie(string $name): bool
     {
-        $res = setcookie($name, '', time() - 1, '/', self::COOKIE_DOMAIN);
+        $res = setcookie($name, '', time() - 1, '/');
         if (!$res) {
             $this->writeLogMessage('Error while unsetting ' . $name . ' cookie');
         }