Jelajahi Sumber

always fetch fe_users

Olivier Massot 3 tahun lalu
induk
melakukan
7342e0f440
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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;