Fixed namespace.
This commit is contained in:
parent
2e5fa1fd8e
commit
ea8045191d
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Jahnke\DiscourseSso\Controller;
|
namespace Jahnke\DjDiscourseSso\Controller;
|
||||||
|
|
||||||
/***************************************************************
|
/***************************************************************
|
||||||
* Copyright notice
|
* Copyright notice
|
||||||
|
@ -77,7 +77,7 @@ class SsoController extends ActionController
|
||||||
*/
|
*/
|
||||||
public function authenticateAction()
|
public function authenticateAction()
|
||||||
{
|
{
|
||||||
$extKey = 'dj_discourse_sso';
|
$extKey = $_EXTKEY; //'dj_discourse_sso';
|
||||||
|
|
||||||
/** @var \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility */
|
/** @var \TYPO3\CMS\Extensionmanager\Utility\ConfigurationUtility $configurationUtility */
|
||||||
$extensionConfiguration = $this->configurationUtility->getCurrentConfiguration($extKey);
|
$extensionConfiguration = $this->configurationUtility->getCurrentConfiguration($extKey);
|
||||||
|
|
|
@ -5,4 +5,4 @@ if (defined('TYPO3_MODE') === false) {
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Jahnke.'.$_EXTKEY, 'Sso', 'Discourse SSO Authentication');
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin('Jahnke.'.$_EXTKEY, 'Sso', 'Discourse SSO Authentication');
|
||||||
|
|
||||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Discourse SSO');
|
// \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Discourse SSO');
|
||||||
|
|
Loading…
Reference in New Issue