2022-11-21 08:52:22 +00:00
|
|
|
{%- extends 'login/authforms.html' -%}
|
|
|
|
{% block pagetitle %}Login{% endblock %}
|
|
|
|
{% block pagetype %}login{% endblock %}
|
|
|
|
{% block template_config %}
|
|
|
|
{% set root_scope.include_user_css = false %}
|
|
|
|
{% set root_scope.include_seo = false %}
|
|
|
|
{% set root_scope.include_cf_2fa_verify = false %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block authtitle %}Welcome back.{% endblock %}
|
|
|
|
{% block authtext %}Glad to have you back!{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div id="login-form">
|
2022-12-11 23:44:34 +00:00
|
|
|
{%- set error_text -%}
|
|
|
|
Incorrect username, email address, or password.<br>
|
|
|
|
<a href="/forgot" class="alert-link">Forgot password?</a>
|
|
|
|
{%- endset -%}
|
|
|
|
{% if failed %}{{macros.alert(error_text, true)}}{% endif %}
|
2022-11-21 08:52:22 +00:00
|
|
|
<form action="/login" method="post" class="mt-md-3" id="login">
|
|
|
|
<label for="username" class="mt-3">Username or Email Address</label>
|
2022-12-25 02:10:56 +00:00
|
|
|
<input autocomplete="off" class="form-control" id="username"
|
2022-12-30 17:20:10 +00:00
|
|
|
type="text" name="username" required>
|
2023-01-24 05:10:16 +00:00
|
|
|
<input hidden name="redirect" value="{{redirect}}">
|
2022-11-21 08:52:22 +00:00
|
|
|
<label for="password" class="mt-3">Password</label>
|
2022-12-25 02:10:56 +00:00
|
|
|
<input autocomplete="off" class="form-control" id="password"
|
2022-12-30 17:20:10 +00:00
|
|
|
type="password" name="password" required>
|
2022-11-21 08:52:22 +00:00
|
|
|
<small class="d-block my-3"><a href="/forgot">Forgot password?</a></small>
|
|
|
|
<button type="submit" class="btn btn-primary login w-100 mt-3" id="login_button">Sign In</button>
|
2023-03-06 17:37:30 +00:00
|
|
|
<div class="text-center text-muted text-small mt-5 mb-5 pb-5">
|
2022-11-21 08:52:22 +00:00
|
|
|
Don't have an account? <a href="/signup{{'?redirect='+redirect if redirect else ''}}" class="font-weight-bold toggle-login">Sign up</a>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|