Explorar el Código

always fetch fe_users

Olivier Massot hace 3 años
padre
commit
7342e0f440
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      ot_connect/ext_localconf.php

+ 3 - 2
ot_connect/ext_localconf.php

@@ -20,8 +20,9 @@ defined('TYPO3_MODE') || die();
     ]
 );
 
-# Always call the getUser method if no session is active
-$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = true;
+# Always fetch FE user, since the previous one could have been disconnected from the Opentalent API since
+$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_alwaysFetchUser'] = true;
+$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_alwaysAuthUser'] = true;
 
 // Use popup window to refresh login instead of the AJAX relogin:
 $GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] = 1;