Added debug statement.
This commit is contained in:
parent
83ea259880
commit
eb5b75bcc5
|
@ -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 = '<div><b>ERROR!</b> '
|
||||
.'You should not see this message!<br />'
|
||||
.'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 = '<div><b>ERROR!</b> '
|
||||
.'You should not see this message!<br />'
|
||||
.'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 {
|
||||
|
|
Loading…
Reference in New Issue