From eb5b75bcc5639dc1f2a0e5d829d4a7e820473743 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Tue, 4 Oct 2016 20:27:33 +0200 Subject: [PATCH] Added debug statement. --- Classes/Controller/SsoController.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Classes/Controller/SsoController.php b/Classes/Controller/SsoController.php index 5e26c31..a687a2e 100644 --- a/Classes/Controller/SsoController.php +++ b/Classes/Controller/SsoController.php @@ -76,12 +76,13 @@ class SsoController extends ActionController $configurationUtility = $this->objectManager->get(ConfigurationUtility::class); $extensionConfiguration = $configurationUtility->getCurrentConfiguration($extKey); - GeneralUtility::devLog('authenticateAction', $extKey, 0, array('config' => $extensionConfiguration)); + GeneralUtility::devLog('authenticateAction-0', $extKey, 0, array('extKey' => $extKey)); + GeneralUtility::devLog('authenticateAction-1', $extKey, 0, array('config' => $extensionConfiguration)); // Check mandatory settings. if (isset($extensionConfiguration['redirect_url']) === false) { $errorText = '
ERROR! ' .'You should not see this message!
' - .'Could not find typoscript setting plugins.tx_dj_discourse_sso.redirect_url! ' + .'Could not find extension configuration for parameter redirect_url! ' .'Please configure the plugin.'; return $errorText; } else { @@ -91,7 +92,7 @@ class SsoController extends ActionController if (isset($extensionConfiguration['shared_key']) === false) { $errorText = '
ERROR! ' .'You should not see this message!
' - .'Could not find typoscript setting plugins.tx_dj_discourse_sso.shared_key! ' + .'Could not find extension configuration for parameter shared_key! ' .'Please configure the plugin.'; return $errorText; } else {