{/hascontent}
</div>
-<form method="post" action="{link controller='Login'}{/link}" id="loginForm">
+<form method="post" action="{@$loginController}" id="loginForm">
<div class="container containerPadding marginTop">
<fieldset>
<legend>{lang}wcf.user.login.data{/lang}</legend>
WCF::getTPL()->assign(array(
'useCookies' => $this->useCookies,
- 'supportsPersistentLogins' => UserAuthenticationFactory::getInstance()->getUserAuthentication()->supportsPersistentLogins()
+ 'supportsPersistentLogins' => UserAuthenticationFactory::getInstance()->getUserAuthentication()->supportsPersistentLogins(),
+ 'loginController' => LinkHandler::getInstance()->getLink('Login')
));
}