Browse Source

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

Olivier Massot 4 năm trước cách đây
mục cha
commit
23e4f2951d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
         }