Changed configuration utility to be accessed in method instead by automatic dependency injection (as this seems not to be possible)
This commit is contained in:
parent
ea8045191d
commit
83ea259880
|
@ -35,13 +35,6 @@ use \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility;
|
|||
class SsoController extends ActionController
|
||||
{
|
||||
|
||||
/**
|
||||
* Configuration Utility (see definitions in ext_conf_template.txt).
|
||||
*
|
||||
* @var \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility
|
||||
* @inject
|
||||
*/
|
||||
public $configurationUtility;
|
||||
|
||||
/**
|
||||
* Compare if signed data matches given signature.
|
||||
|
@ -80,7 +73,8 @@ class SsoController extends ActionController
|
|||
$extKey = $_EXTKEY; //'dj_discourse_sso';
|
||||
|
||||
/** @var \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility */
|
||||
$extensionConfiguration = $this->configurationUtility->getCurrentConfiguration($extKey);
|
||||
$configurationUtility = $this->objectManager->get(ConfigurationUtility::class);
|
||||
$extensionConfiguration = $configurationUtility->getCurrentConfiguration($extKey);
|
||||
|
||||
GeneralUtility::devLog('authenticateAction', $extKey, 0, array('config' => $extensionConfiguration));
|
||||
// Check mandatory settings.
|
||||
|
|
Loading…
Reference in New Issue