From: Marcel Werk Date: Mon, 7 Oct 2013 10:50:20 +0000 (+0200) Subject: Small optimization X-Git-Tag: 2.0.0_Beta_11~70 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4fcdbfe88ed7f1da372924fa82af994fcc0be96e;p=GitHub%2FWoltLab%2FWCF.git Small optimization --- diff --git a/com.woltlab.wcf/templates/login.tpl b/com.woltlab.wcf/templates/login.tpl index e91de28363..b24f3aacb7 100644 --- a/com.woltlab.wcf/templates/login.tpl +++ b/com.woltlab.wcf/templates/login.tpl @@ -38,7 +38,7 @@ {/hascontent} -
+
{lang}wcf.user.login.data{/lang} diff --git a/wcfsetup/install/files/lib/form/LoginForm.class.php b/wcfsetup/install/files/lib/form/LoginForm.class.php index 510cde6d1d..0152cd56cc 100644 --- a/wcfsetup/install/files/lib/form/LoginForm.class.php +++ b/wcfsetup/install/files/lib/form/LoginForm.class.php @@ -86,7 +86,8 @@ class LoginForm extends \wcf\acp\form\LoginForm { WCF::getTPL()->assign(array( 'useCookies' => $this->useCookies, - 'supportsPersistentLogins' => UserAuthenticationFactory::getInstance()->getUserAuthentication()->supportsPersistentLogins() + 'supportsPersistentLogins' => UserAuthenticationFactory::getInstance()->getUserAuthentication()->supportsPersistentLogins(), + 'loginController' => LinkHandler::getInstance()->getLink('Login') )); }