* Enable re-captcha to use it * Disables the mini-login box in header * Requires re-Captcha to be setup in Admin Panel Fixes #1400 once merged.
26 lines
1.3 KiB
Smarty
26 lines
1.3 KiB
Smarty
<article class="module width_half">
|
|
<form action="{$smarty.server.SCRIPT_NAME}?page=login" method="post" id="loginForm">
|
|
<input type="hidden" name="to" value="{($smarty.request.to|default:"{$smarty.server.SCRIPT_NAME}?page=dashboard")|escape}" />
|
|
{if $GLOBAL.csrf.enabled && $GLOBAL.csrf.forms.login}<input type="hidden" name="ctoken" value="{$CTOKEN}" />{/if}
|
|
<header><h3>Login with existing account</h3></header>
|
|
<div class="module_content">
|
|
<fieldset>
|
|
<label>Username or E-Mail</label>
|
|
<input type="text" name="username" size="22" maxlength="100" value="{$smarty.request.username|default:""|escape}" placeholder="Your username or email" required />
|
|
</fieldset>
|
|
<fieldset>
|
|
<label>Password</label>
|
|
<input type="password" name="password" size="22" maxlength="100" placeholder="Your password" required />
|
|
</fieldset>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<center>{nocache}{$RECAPTCHA|default:"" nofilter}{/nocache}</center>
|
|
<footer>
|
|
<div class="submit_link">
|
|
<a href="{$smarty.server.SCRIPT_NAME}?page=password"><font size="1">Forgot your password?</font></a>
|
|
<input type="submit" value="Login" class="alt_btn" />
|
|
</div>
|
|
</footer>
|
|
</form>
|
|
</article>
|