diff --git a/core-bundle/src/EventListener/LegacyLoginConstantsListener.php b/core-bundle/src/EventListener/LegacyLoginConstantsListener.php index a1209d695e4..2ccb27a9fe5 100644 --- a/core-bundle/src/EventListener/LegacyLoginConstantsListener.php +++ b/core-bundle/src/EventListener/LegacyLoginConstantsListener.php @@ -34,7 +34,7 @@ public function __construct(ContaoFramework $framework) public function __invoke(RequestEvent $event): void { - // Set the legacy login constants, if the legacy framework was initialized before. + // Set the legacy login constants if the legacy framework was initialized before. // Otherwise allow the framework to set them itself during initialize. if (!$this->framework->isInitialized()) { $this->framework->setLoginConstantsOnInit(true);