|
|
@@ -26,6 +26,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
CONST GET_USER_DATA_URI = self::API_URI . 'user/datafortypo3';
|
|
|
CONST ISAUTH_URI = self::API_URI . 'user/isauthenticated';
|
|
|
CONST LOGOUT_URI = self::API_URI . 'logout';
|
|
|
+ CONST GROUP_FE_ALL_UID = 18076;
|
|
|
|
|
|
// Cookies'domain needs to be the same that the api's cookies, or guzzle will ignore them.
|
|
|
CONST COOKIE_DOMAIN = 'opentalent.fr';
|
|
|
@@ -317,7 +318,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
'name' => $userApiData['name'],
|
|
|
'first_name' => $userApiData['first_name'],
|
|
|
'description' => '[Warning: auto-generated record, do not modify] FE User',
|
|
|
- 'usergroup' => 21,
|
|
|
+ 'usergroup' => self::GROUP_FE_ALL_UID,
|
|
|
'deleted' => 0,
|
|
|
'tx_opentalent_opentalentId' => $userApiData['id'],
|
|
|
'tx_opentalent_generationDate' => date('Y/m/d H:i:s')
|