15 lines
680 B
HTML
15 lines
680 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Login code{% endblock %}
|
|
{% block bodyclass %}auth{% endblock %}
|
|
{% block content %}
|
|
<form method="post" class="card auth-card">
|
|
<h1>Check your email</h1>
|
|
<p class="muted">Enter the 6-digit code we sent you. It is valid for 10 minutes.</p>
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
|
<label>Code <input name="code" inputmode="numeric" pattern="[0-9]{6}" maxlength="6"
|
|
autocomplete="one-time-code" required autofocus class="code"></label>
|
|
<button type="submit" class="btn primary">Log in</button>
|
|
<p class="small"><a href="{{ url_for('auth.login') }}">Start over</a></p>
|
|
</form>
|
|
{% endblock %}
|