{% extends 'global/master.twig' %}
{% block title %}Login{% endblock %}
{% block content %}
{% if sakura.lockAuth %}
<h1 class="stylised" style="line-height: 1.8em; text-align: center;">Logging in is disabled for security checkups! Try again later.</h1>
{% else %}
<div class="loginPage">
<div class="loginForm">
<div class="head">
Login
</div>
<form method="post" action="{{ route('auth.login') }}" id="loginForm">
<input type="hidden" name="redirect" value="{{ sakura.referrer ? sakura.referrer : route('main.index') }}" />
<input type="hidden" name="session" value="{{ php.sessionid }}" />
<div class="leftAlign">
<label for="loginUserName">Username:</label>
<div class="centreAlign">
<input class="inputStyling" type="text" id="loginUserName" name="username" autofocus="true" />
<label for="loginPassword">Password:</label>
<input class="inputStyling" type="password" id="loginPassword" name="password" />
<div class="subLinks centreAlign">
<input class="inputStyling" name="remember" type="checkbox" class="ignore-css" id="loginRemember" /><label for="loginRemember">Remember Me</a>
<input class="inputStyling" type="submit" id="loginButton" name="submit" value="Login" />
future links to password forgot, reactivate and register here
</form>
{% endif %}
{% endblock %}