浏览代码

upadte cookie domain

Olivier Massot 5 年之前
父节点
当前提交
47f4a7c4a8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ot_connect/Classes/Service/OtAuthenticationService.php

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

@@ -28,7 +28,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
     CONST LOGOUT_URI = self::API_URI . 'logout';
 
     // Cookies'domain needs to be the same that the api's cookies, or guzzle will ignore them.
-    CONST COOKIE_DOMAIN = '.opentalent.fr';
+    CONST COOKIE_DOMAIN = 'opentalent.fr';
 
     CONST PRODUCT_MAPPING = [
         "school-standard" => 1, // Association writer basic