From f3e90cd960631a8d52622bf88d89742057d3ab06 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 16 May 2022 11:46:25 +0200 Subject: [PATCH] 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. --- home/files/typo3-configuration/Autologin.php | 1 - home/programs/neovim/configuration/snippets/php.snippets | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/home/files/typo3-configuration/Autologin.php b/home/files/typo3-configuration/Autologin.php index 4bcbdbf..96b3504 100644 --- a/home/files/typo3-configuration/Autologin.php +++ b/home/files/typo3-configuration/Autologin.php @@ -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 diff --git a/home/programs/neovim/configuration/snippets/php.snippets b/home/programs/neovim/configuration/snippets/php.snippets index db2e0b4..869ebed 100644 --- a/home/programs/neovim/configuration/snippets/php.snippets +++ b/home/programs/neovim/configuration/snippets/php.snippets @@ -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