
I think expiration should be pending on a proper way to do recurring tasks -- I'm personally in favor of a CLI command that can be run from a cronjob or systemd timer that will do things like auto-expire password reset requests and send the daily registration reports. Now that I'm thinking about it, this does need at least a rudimentary system to make sure that it actually expires. If the expiration is invalid at the time of reset, then the request can just be invalidated and deleted. There's no pressing need for automatic removal until it's implemented. Thoughts @willhockey20?
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block content %}
|
|
<div style="height: 100%;">
|
|
<div id="registration-banner" class="parallax-container valign-wrapper">
|
|
<div class="section">
|
|
<h3 class="header-center text-darken-2">Login</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<div class="section" style="background-color: #974355; padding: 20px;">
|
|
<form method="post">
|
|
{{ form.csrf_token }}
|
|
<div>
|
|
{{form.email}}<br/>{{ form.email.label}}
|
|
</div>
|
|
<div>
|
|
{{form.password}}<br/>{{form.password.label}}
|
|
</div>
|
|
<div>
|
|
{{form.submit}}
|
|
</div>
|
|
</form>
|
|
<span><p><em>Don't have an account? <a
|
|
href="{{url_for('registration.register')}}">Register
|
|
here</a>.</em></p></span>
|
|
|
|
<span><p><em>Forgot your password? Head over <a
|
|
href="{{url_for('registration.reset')}}">here</a>
|
|
to reset it.</em></p></span>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|