Browse Source

[test] restore prod urls

Olivier Massot 5 years ago
parent
commit
55883cc518

+ 2 - 4
ot_connect/Classes/Service/OtAuthenticationService.php

@@ -17,9 +17,7 @@ use \TYPO3\CMS\Core\Authentication\AbstractAuthenticationService;
 class OtAuthenticationService extends AbstractAuthenticationService
 {
 
-//    CONST DOMAIN = 'https://api.opentalent.fr';
-    CONST DOMAIN = 'https://api.preprod.opentalent.fr';
-
+    CONST DOMAIN = 'https://api.opentalent.fr';
     CONST API_URI = self::DOMAIN . '/api/';
     CONST LOGIN_URI = self::API_URI . 'login_check';
     CONST GET_USER_DATA_URI = self::API_URI . 'user/datafortypo3';
@@ -133,7 +131,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
         }
 
         // Request the latest data for the user and write it in the Typo3 DB
-        //   * The userShouldBeRegenerated() method checks if the user was already
+        //   * The shouldUserBeUpdated() method checks if the user was already
         //   generated in the last minutes, to avoid unecessary operations *
         if ($this->shouldUserBeUpdated($username)) {
             $wasUpdated = $this->createOrUpdateUser();

+ 1 - 2
ot_templating/Configuration/TypoScript/constants.txt

@@ -14,8 +14,7 @@ plugin.tx_ottemplating {
             website = https://opentalent.fr
             logoPath = EXT:ot_templating/Resources/Public/media/logo-opentalent.png
             fileStorageUrl = https://api.opentalent.fr/app.php/_internal/secure/files/
-            dashboardUrl = https://admin.preprod.opentalent.fr/#/dashboard
-#            dashboardUrl = https://admin.opentalent.fr/#/dashboard
+            dashboardUrl = https://admin.opentalent.fr/#/dashboard
             logoutUrl = .
         }