|
|
@@ -319,7 +319,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
$now = new DateTime();
|
|
|
$diff = $now->getTimestamp() - $genDate->getTimestamp();
|
|
|
|
|
|
- return ($diff > self::USER_UPDATE_DELAY);
|
|
|
+ return true || ($diff > self::USER_UPDATE_DELAY);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -409,6 +409,13 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
['organizationId' => $organizationId]
|
|
|
);
|
|
|
|
|
|
+ // <-- TODO: supprimer après la fin des tests sur cmf-test
|
|
|
+ if ($organizationId === 616134) {
|
|
|
+ // Groupe "hard-codé" pour le compte admincmf-test
|
|
|
+ $groupUid = 4925;
|
|
|
+ }
|
|
|
+ // --->
|
|
|
+
|
|
|
if ($groupUid) {
|
|
|
$groupsUid[] = $groupUid;
|
|
|
} else {
|