Fix broken TYPO3 auto login

Enable auto login
Fix broken include of additional configuration. Seems it is loaded
multiple times, we should prevent _once to always have it loaded.
This commit is contained in:
Daniel Siepmann 2022-05-16 11:46:25 +02:00
parent a3b096083a
commit f3e90cd960
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 1 additions and 2 deletions

View file

@ -62,7 +62,6 @@ if (class_exists(\TYPO3\CMS\Sv\AbstractAuthenticationService\AbstractAuthenticat
// Autologin
if (
false &&
class_exists(\Codappix\CdxAutoLogin\AutoAuthenticationTypo3Service::class)
&& (
defined('TYPO3_REQUESTTYPE') === false

View file

@ -3,7 +3,7 @@ snippet t3de Insert TYPO3 Extbase var_dump
snippet additionalconf
if (getenv('TYPO3_ADDITIONAL_CONFIGURATION')) {
require_once getenv('TYPO3_ADDITIONAL_CONFIGURATION');
require getenv('TYPO3_ADDITIONAL_CONFIGURATION');
}
snippet xdebug