]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/commands/web/class_WebLoginFailedCommand.php
Logout procedure basicly finished, login area splitted in main and action-dependent...
[shipsimu.git] / inc / classes / main / commands / web / class_WebLoginFailedCommand.php
index 34a1970cf372d16b6420db27c33879e298cd0d34..04b02c165d62de0513762871b5451b8da02846f9 100644 (file)
@@ -32,7 +32,7 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable {
                parent::__construct(__CLASS__);
 
                // Set special description
-               $this->setObjectDescription("Command for the "home" page");
+               $this->setObjectDescription("Command for the "login failed" page");
 
                // Create unique ID number
                $this->generateUniqueId();
@@ -101,6 +101,9 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable {
                // Set title
                $templateInstance->assignVariable('title', $this->getLanguageInstance()->getMessage('login_failed_title'));
 
+               // Assign base URL
+               $templateInstance->assignConfigVariable('base_url');
+
                // ... and all variables. This should be merged together in a pattern
                // to make things easier. A cache mechanism should be added between
                // these two calls to cache compiled templates.