Ver código fonte

upadte cookie domain

Olivier Massot 5 anos atrás
pai
commit
47f4a7c4a8

+ 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