[BUGFIX] Missing labels for backend login form
authorNicole Cordes <cordes@cps-it.de>
Fri, 24 Aug 2012 19:46:46 +0000 (21:46 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Aug 2012 19:56:51 +0000 (21:56 +0200)
This patch reincludes the locallang_login.xml to render missing form
labels.

Change-Id: I229c60bc8a8b1b1f06e3f35e9ab459eb866c7f5a
Fixes: #40144
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14053
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Controller/LoginController.php

index f4d1706..7ccbabb 100644 (file)
@@ -138,8 +138,7 @@ class LoginController {
                if ($preferredBrowserLanguage != 'default' && !$GLOBALS['BE_USER']->user['uid']) {
                        $GLOBALS['LANG']->init($preferredBrowserLanguage);
                }
-               // TODO reenable
-               //$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_login.xml');
+               $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_login.xml');
                // Setting the redirect URL to "backend.php" if no alternative input is given
                $this->redirectToURL = $this->redirect_url ? $this->redirect_url : 'backend.php';
                // Do a logout if the command is set