Renamed to match with new name
[core.git] / inc / classes / main / commands / web / class_WebLoginCommand.php
index 981ad63a44b4e3a9ea2de5ddeef16ca9e7731c6e..ae90f48b8ae1768d245e7c504eab047520745a13 100644 (file)
@@ -105,6 +105,12 @@ class WebLoginCommand extends BaseCommand implements Commandable, Registerable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_menu_class', array($appInstance));
 
+               // Render the menu
+               $menuInstance->renderMenu();
+
+               // Transfer it to the template engine instance
+               $menuInstance->transferContentToTemplateEngine($templateInstance);
+
                // ... 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.