<dl{if $errorField == 'username'} class="formError"{/if}>
<dt><label for="username">{lang}wcf.user.username{/lang}</label></dt>
- <dd><input type="text" id="username" name="username" value="{$username}" class="long" autocomplete="username">
+ <dd><input type="text" id="username" name="username" value="{$username}" required class="long" autocomplete="username">
{if $errorField == 'username'}
<small class="innerError">
{if $errorType == 'empty'}
<dl{if $errorField == 'password'} class="formError"{/if}>
<dt><label for="password">{lang}wcf.user.password{/lang}</label></dt>
- <dd><input type="password" id="password" name="password" value="" class="long" autocomplete="current-password">
+ <dd><input type="password" id="password" name="password" value="" required class="long" autocomplete="current-password">
{if $errorField == 'password'}
<small class="innerError">
{if $errorType == 'empty'}