Quellcode durchsuchen

always fetch fe_users

Olivier Massot vor 3 Jahren
Ursprung
Commit
7342e0f440
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  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;