Bläddra i källkod

upadte cookie domain

Olivier Massot 5 år sedan
förälder
incheckning
47f4a7c4a8
1 ändrade filer med 1 tillägg och 1 borttagningar
  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';
     CONST LOGOUT_URI = self::API_URI . 'logout';
 
 
     // Cookies'domain needs to be the same that the api's cookies, or guzzle will ignore them.
     // 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 = [
     CONST PRODUCT_MAPPING = [
         "school-standard" => 1, // Association writer basic
         "school-standard" => 1, // Association writer basic