]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlLoginFailedCommand.php
Continued:
[core.git] / framework / main / classes / commands / html / class_HtmlLoginFailedCommand.php
index 6507520cf8678a78fca0bb6eca34dcb55224b3ca..0172fdf4240dff3c5b1b9788b3cb8a996a80eea9 100644 (file)
@@ -8,6 +8,7 @@ use Org\Mxchange\CoreFramework\Command\BaseCommand;
 use Org\Mxchange\CoreFramework\Command\Commandable;
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
@@ -72,7 +73,7 @@ class HtmlLoginFailedCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
+               $applicationInstance = ApplicationHelper::getSelfInstance();
 
                // Assign application data with template engine
                $this->getTemplateInstance()->assignApplicationData();