modified: .gitignore modified: README.rst modified: app.py modified: templates/login.html.j2 modified: templates/verify.html.j2 deleted: test_agent.sh new file: test_jwt_owner_agent.sh new file: test_otp_cookie_agent.sh
14 lines
444 B
Django/Jinja
14 lines
444 B
Django/Jinja
{% extends 'base.html.j2' %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Login</h1>
|
|
<p>Enter your email to receive a 6-digit verification code.</p>
|
|
<form method="POST">
|
|
<label for="email">Email:</label>
|
|
<input type="hidden" name="csrf_token" value="{{ request.session.get_csrf_token() }}">
|
|
<input type="email" name="email" required>
|
|
<button type="submit">Get Verification Code</button>
|
|
</form>
|
|
{% endblock %}
|