浏览代码

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

Olivier Massot 4 年之前
父节点
当前提交
23e4f2951d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
     protected function unset_cookie(string $name): bool
     {
     {
-        $res = setcookie($name, '', time() - 1, '/', self::COOKIE_DOMAIN);
+        $res = setcookie($name, '', time() - 1, '/');
         if (!$res) {
         if (!$res) {
             $this->writeLogMessage('Error while unsetting ' . $name . ' cookie');
             $this->writeLogMessage('Error while unsetting ' . $name . ' cookie');
         }
         }